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

        Hide
        Philip Breau added a comment -

        fixed in trunk by rev 34505

        Show
        Philip Breau added a comment - fixed in trunk by rev 34505

          People

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

            Dates

            • Created:
              Updated:
              Resolved: