Skip to content

safeguard output in Jinja2 templates - #1249

Open
tomkralidis wants to merge 1 commit into
masterfrom
jinja2-escape
Open

safeguard output in Jinja2 templates#1249
tomkralidis wants to merge 1 commit into
masterfrom
jinja2-escape

Conversation

@tomkralidis

Copy link
Copy Markdown
Member

Overview

This PR safeguards Jinja2 output, preventing XSS on HTML templates

Related Issue / Discussion

None

Additional Information

Inspired/borrowed from pygeoapi.

Contributions and Licensing

(as per https://github.com/geopython/pycsw/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

  • I'd like to contribute [feature X|bugfix Y|docs|something else] to pycsw. I confirm that my contributions to pycsw will be compatible with the pycsw license guidelines at the time of contribution.
  • I have already previously agreed to the pycsw Contributions and Licensing Guidelines

@tomkralidis tomkralidis added this to the 3.0.0 milestone Aug 16, 2026
@tomkralidis

Copy link
Copy Markdown
Member Author

CI (trivy) failures are unrelated.

@tomkralidis
tomkralidis requested a review from a team August 16, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant