[
https://issues.apache.org/jira/browse/JSPWIKI-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florian Holeczek closed JSPWIKI-285.
------------------------------------
> Groups.jsp has unterminated string constant
> -------------------------------------------
>
> Key: JSPWIKI-285
> URL: https://issues.apache.org/jira/browse/JSPWIKI-285
> Project: JSPWiki
> Issue Type: Bug
> Environment: Windows XP with current SP (2008.0609). Tomcat 5.5.
> Apache 2.2. jspWiki 2.6.2.
> Reporter: Karl Hansen
> Priority: Minor
> Fix For: 2.8
>
>
> When I view a group in the Group.jsp page, I get an "unterminated string
> constant" in this pageSource:
> <form action="/DDESWiki/DeleteGroup.jsp"
> class="wikiform"
> id="deleteGroup"
> onsubmit="return( confirm('Are you sure you want to permanently
> delete group "Visitor"? Users might not be able to access pages whose ACLS
> contain this group. \n\n If you click OK, the group will be removed
> immediately.') && Wiki.submitOnce(this) );"
> method="POST" accept-charset="UTF-8">
> <input type="submit" name="ok" value="Delete group" />
> <input type="hidden" name="group" value="Visitor" />
> </form>
> It's the onsubmit, which includes "Visitor". The quotes break the string.
> Possibly escape the quotes?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira