You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by "Harry Metske (JIRA)" <ji...@apache.org> on 2008/10/03 18:36:44 UTC

[jira] Created: (JSPWIKI-393) SecurityConfig.jsp gives JSP compile error on Geronimo

SecurityConfig.jsp gives JSP compile error on Geronimo
------------------------------------------------------

                 Key: JSPWIKI-393
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-393
             Project: JSPWiki
          Issue Type: Bug
          Components: Servlet Container/Java compatibility
    Affects Versions: 2.8
         Environment: Geronimo 2.1.3 
JSPWiki 2.8.0-beta-16
            Reporter: Harry Metske
            Assignee: Harry Metske
            Priority: Minor
             Fix For: 2.8.1
         Attachments: JSPWIKI-389.patch

org.apache.jasper.JasperException: /admin/SecurityConfig.jsp(128,43) Attribute value SecurityVerifier.INFO+"java.security.auth.login.config" is quoted with " which must be escaped when used within the value
	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
	org.apache.jasper.compiler.Parser.parseQuoted(Parser.java:301)
	org.apache.jasper.compiler.Parser.parseAttributeValue(Parser.java:250)
	org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:212)
	org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:155)
	org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1252)
	org.apache.jasper.compiler.Parser.parseElements(Parser.java:1467)
	org.apache.jasper.compiler.Parser.parse(Parser.java:138)
	org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
	org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:154)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
	com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:174)
	com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:116)

I suggest we fix this in 2.8.1, but if the devteam wants it in 2.8.0 , fine too.
I'll attach the patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JSPWIKI-393) SecurityConfig.jsp gives JSP compile error on Geronimo

Posted by "Harry Metske (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Harry Metske updated JSPWIKI-393:
---------------------------------

    Attachment: JSPWIKI-389.patch

> SecurityConfig.jsp gives JSP compile error on Geronimo
> ------------------------------------------------------
>
>                 Key: JSPWIKI-393
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-393
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Servlet Container/Java compatibility
>    Affects Versions: 2.8
>         Environment: Geronimo 2.1.3 
> JSPWiki 2.8.0-beta-16
>            Reporter: Harry Metske
>            Assignee: Harry Metske
>            Priority: Minor
>             Fix For: 2.8.1
>
>         Attachments: JSPWIKI-389.patch
>
>
> org.apache.jasper.JasperException: /admin/SecurityConfig.jsp(128,43) Attribute value SecurityVerifier.INFO+"java.security.auth.login.config" is quoted with " which must be escaped when used within the value
> 	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
> 	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
> 	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
> 	org.apache.jasper.compiler.Parser.parseQuoted(Parser.java:301)
> 	org.apache.jasper.compiler.Parser.parseAttributeValue(Parser.java:250)
> 	org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:212)
> 	org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:155)
> 	org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1252)
> 	org.apache.jasper.compiler.Parser.parseElements(Parser.java:1467)
> 	org.apache.jasper.compiler.Parser.parse(Parser.java:138)
> 	org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
> 	org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
> 	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:154)
> 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
> 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
> 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
> 	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> 	com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:174)
> 	com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:116)
> I suggest we fix this in 2.8.1, but if the devteam wants it in 2.8.0 , fine too.
> I'll attach the patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (JSPWIKI-393) SecurityConfig.jsp gives JSP compile error on Geronimo

Posted by "Janne Jalkanen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JSPWIKI-393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Janne Jalkanen resolved JSPWIKI-393.
------------------------------------

    Resolution: Fixed

Fixed in 2.8.1-svn-1 by using proper mixed quotes.

> SecurityConfig.jsp gives JSP compile error on Geronimo
> ------------------------------------------------------
>
>                 Key: JSPWIKI-393
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-393
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Servlet Container/Java compatibility
>    Affects Versions: 2.8
>         Environment: Geronimo 2.1.3 
> JSPWiki 2.8.0-beta-16
>            Reporter: Harry Metske
>            Assignee: Harry Metske
>            Priority: Minor
>             Fix For: 2.8.1
>
>         Attachments: JSPWIKI-389.patch
>
>
> org.apache.jasper.JasperException: /admin/SecurityConfig.jsp(128,43) Attribute value SecurityVerifier.INFO+"java.security.auth.login.config" is quoted with " which must be escaped when used within the value
> 	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
> 	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
> 	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
> 	org.apache.jasper.compiler.Parser.parseQuoted(Parser.java:301)
> 	org.apache.jasper.compiler.Parser.parseAttributeValue(Parser.java:250)
> 	org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:212)
> 	org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:155)
> 	org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1252)
> 	org.apache.jasper.compiler.Parser.parseElements(Parser.java:1467)
> 	org.apache.jasper.compiler.Parser.parse(Parser.java:138)
> 	org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
> 	org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
> 	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:154)
> 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:315)
> 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
> 	org.apache.jasper.compiler.Compiler.compile(Compiler.java:282)
> 	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
> 	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:312)
> 	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
> 	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> 	com.ecyrd.jspwiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:174)
> 	com.ecyrd.jspwiki.ui.WikiJSPFilter.doFilter(WikiJSPFilter.java:116)
> I suggest we fix this in 2.8.1, but if the devteam wants it in 2.8.0 , fine too.
> I'll attach the patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.