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

feat(i18n): escape translations per default #363

Merged
merged 1 commit into from
Jun 13, 2019

Conversation

barmac
Copy link
Member

@barmac barmac commented Jun 13, 2019

This makes sure that we escape translations per default to avoid XSS issues with i18n. Pass safe=true if the input is already safe.

Copy link
Member

@nikku nikku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💬

@barmac barmac force-pushed the escape-translations-per-default branch from e3c402d to 1e453b9 Compare June 13, 2019 18:56
@merge-me merge-me bot merged commit 4971a68 into master Jun 13, 2019
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Jun 13, 2019
@delete-merged-branch delete-merged-branch bot deleted the escape-translations-per-default branch June 13, 2019 19:48
@nikku
Copy link
Member

nikku commented Jun 14, 2019

Seems like I merged this one prematurely.

Escaping translations breaks the library and tools building upon it: bpmn-io/bpmn-js#1080. Let's discuss and revise this next week.

@nikku nikku restored the escape-translations-per-default branch June 17, 2019 06:15
@nikku nikku deleted the escape-translations-per-default branch June 17, 2019 06:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants