You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Karl Hansen (JIRA)" <ji...@apache.org> on 2008/06/09 16:27:45 UTC
[jira] Created: (JSPWIKI-285) Groups.jsp has unterminated string
constant
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
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.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (JSPWIKI-285) Groups.jsp has unterminated string
constant
Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/JSPWIKI-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Janne Jalkanen resolved JSPWIKI-285.
------------------------------------
Resolution: Fixed
Fixed 2.7.0-svn-36. Was a problem with English, Dutch and German localizations.
> 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.
-
You can reply to this email to add a comment to the issue online.