MyFaces Core
  1. MyFaces Core
  2. MYFACES-2630

HtmlBody 'onload' attribute encoding issues

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-beta-3
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      when using <h:body onload="alert('onload');" ></h:body> will display <body onload="alert('onload');" onload="alert('onload');" > </body>.

      its seems that org.apache.myfaces.shared_impl.renderkit.html.HTML.ONUNLOAD_ATTR == 'onload' makes this issue.

        Activity

        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Leonardo Uribe made changes -
        Fix Version/s 2.0.0 [ 12314890 ]
        Fix Version/s 2.0.0-beta-4 [ 12314853 ]
        Jakob Korherr made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0.0-beta-4 [ 12314853 ]
        Resolution Fixed [ 1 ]
        Jakob Korherr made changes -
        Field Original Value New Value
        Assignee Jakob Korherr [ jakobkorherr ]
        Mark Li created issue -

          People

          • Assignee:
            Jakob Korherr
            Reporter:
            Mark Li
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development