Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template strings passed to javascript were not escaped #430

Merged
merged 3 commits into from
Oct 4, 2018

Conversation

ikedas
Copy link
Member

@ikedas ikedas commented Oct 3, 2018

This may fix #428 and potential other bugs.

  • Introduce a new tt2 filter escape_cstr for C-style escaping.
  • Escape template variable passed to javascript.

@ikedas ikedas changed the title Error escaping apostrophe on stats page #428 Template strings passed to javascript were not escaped Oct 4, 2018
@ikedas ikedas merged commit ea788a4 into sympa-community:sympa-6.2 Oct 4, 2018
@ikedas ikedas deleted the issue-428 branch October 30, 2018 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error escaping apostrophe on stats page
1 participant