[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grégory Joseph updated MAGNOLIA-3721: ------------------------------------- Fix Version/s: 4.4.5 Hey Vincent, Thanks for the report! tentatively scheduling this for the next bugfix release. While reviewing the patch, can someone check if there's a more generic fix for this problem (i.e are there other chars that might need escaping?) > Dialog multiselect does not escape single quotes > ------------------------------------------------ > > Key: MAGNOLIA-3721 > URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3721 > Project: Magnolia > Issue Type: Bug > Components: gui > Affects Versions: 4.4.3 > Reporter: Vincent Gombert > Fix For: 4.4.5 > > > Using dialog multiselect to manage a list of labels (no choose button) will > fail if a label contains a single quote (') as it is not escaped in JSON > string. > Fixing this bug seems simple : just escape single quotes in method getJSON() > of class DialogMultiSelect > Line 199: {noformat}value = value.replaceAll("\\'", "\\\\\\'");{noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------