i18n Messages that have single quotes in them are not escaped properly #15

Closed
bluesliverx opened this Issue Nov 5, 2012 · 0 comments

2 participants

@bluesliverx

Any message that is resolved in the javascript by renderValidationScript is not escaped if a single quote is present in the message, resulting in an "unknown identifier" javascript message.

This needs to be escaped in the service in getMessage and getTypeMismatchMessage. I'm working on a pull request for it.

@limcheekin limcheekin pushed a commit that closed this issue Feb 22, 2013
@bluesliverx bluesliverx Fix #15 Messages are now escaped properly for javascript
Add spock for testing, add ignores for intellij
44e838e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment