Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3850

html EL expression inside markup enables escape on static text in facelets jspx mode

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.15, 2.2.1
    • Component/s: JSR-314, JSR-344
    • Labels:
      None

      Description

      In JSPX mode I have tried to render something like this:

      Check EL Escaping #

      {requestScope.rquote}

      : "

      The result was this:

      Check EL Escaping " : "

      but it should be this:

      Check EL Escaping " : "

      JSPX mode says that inline text should not be escaped, but the presence of the EL expression forces the whole chunk to be escaped. In other modes, text escape is always enabled, so the only way you can see the problem is migrating views from old jsp to facelets. Really it is difficult to reproduce but anyway it could be good to check the code and try to fix it.

        Attachments

          Activity

            People

            • Assignee:
              lu4242 Leonardo Uribe
              Reporter:
              lu4242 Leonardo Uribe

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment