ICEfaces
  1. ICEfaces
  2. ICE-9282

Unescaping URLs with '&' character causing errors on some browsers

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 3.2
    • Fix Version/s: 4.0.BETA
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      n/a

      Description

      The bridge calls unescapeHtml on script src attributes when it encounters script elements in the head.

      {{code}}
      onLoad(window, function() {
             var scriptElements = document.documentElement.getElementsByTagName('script');
             inject(scriptElements, scriptRefs, createResourceMatching('src'));
         });
      {{code}}

      If the script URL includes the '&' character this can cause either INVALID_STATE_ERROR or NO_MODIFICATION_ALLOWED_ERR in some browsers, such as the Android mobile browser.
       

        Activity

        Philip Breau created issue -
        Philip Breau made changes -
        Field Original Value New Value
        Summary Unescaping URLs with Parameters causing errors on some browsers Unescaping URLs with '&' character causing errors on some browsers
        Hide
        Philip Breau added a comment -

        fixed in trunk by rev 34505

        Show
        Philip Breau added a comment - fixed in trunk by rev 34505
        Philip Breau made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 3.4 [ 10770 ]
        Resolution Invalid [ 6 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: