Skip to content

fix: django only ValidIdentifiers#307

Merged
sixcolors merged 2 commits intomasterfrom
2682-django-template-invalid-identifiers
Oct 19, 2023
Merged

fix: django only ValidIdentifiers#307
sixcolors merged 2 commits intomasterfrom
2682-django-template-invalid-identifiers

Conversation

@sixcolors
Copy link
Member

This pull request focuses on enhancing the exclusion of invalid identifiers in the getPongoBinding function within the django template. The changes include:

  • The createBindFromMap function now checks for valid identifiers and skips any invalid ones.
  • Added new unit tests to ensure that invalid identifiers are not passed to Pongo2

Fixes gofiber/fiber#2682

@github-actions github-actions bot added the ☢️ Bug Something isn't working label Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

☢️ Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 [Bug]: CSRF middleware default ContextKey and PassLocalsToViews

2 participants