Uploaded image for project: 'JSPWiki'
  1. JSPWiki
  2. JSPWIKI-393

SecurityConfig.jsp gives JSP compile error on Geronimo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.8
    • 2.8.1
    • None
    • Geronimo 2.1.3
      JSPWiki 2.8.0-beta-16

    Description

      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.

      Attachments

        1. JSPWIKI-389.patch
          2 kB
          Harry Metske

        Activity

          People

            metskem Harry Metske
            metskem Harry Metske
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: