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

settings: Fix escaping of HTML in checkbox labels. #9235

Merged
merged 1 commit into from Apr 26, 2018

Conversation

shubhamdhama
Copy link
Member

Some labels like one for translate_emoticons which contains HTML
get escaped because of use of {{ label }} syntax, which escapes
the string for XSS security purpose but since labels aren't any
threat to any such security cases, we can use triple curly brackets
{{{ label }}} syntax.

Fixes: #9231.
fixed

Some labels like one for `translate_emoticons` which contains HTML
get escaped because of use of `{{ label }}` syntax, which escapes
the string for XSS security purpose but since labels aren't any
threat to any such security cases, we can use triple curly brackets
`{{{ label }}}` syntax.

Fixes: zulip#9231.
@zulipbot zulipbot added size: XS area: emoji Emoji in markup, emoji reactions, emoji picker, etc. area: settings (user) bug labels Apr 26, 2018
@zulipbot
Copy link
Member

Hello @zulip/server-emoji, @zulip/server-settings members, this pull request was labeled with the "area: emoji", "area: settings (user)" labels, so you may want to check it out!

@timabbott timabbott merged commit 790a9fd into zulip:master Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: emoji Emoji in markup, emoji reactions, emoji picker, etc. area: settings (user) bug size: XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Buggy HTML escaping of description for emoticons setting
3 participants