Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-26120

Accent characters in URL throws a Security Sandbox Violation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.1 (Release)
    • None
    • Flash Integration
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: French

    Description

      Steps to reproduce:
      1. I use the Bing web service with some city name (i.e Montréal) that have Accent. I used encodeUri to encode accents in the URI.
      2. Create a URLLoader with this URL: http://dev.virtualearth.net/REST/v1/Locations/CA/QC/J4J3Z3/MONTR%C3%89AL/2252%20CH%20DE%20CHAMBLY?o=xml&key=<Bing_key>
      var loader:URLLoader = new URLLoader();
      loader.load(new URLRequest("http://dev.virtualearth.net/REST/v1/Locations/CA/QC/J4J3Z3/MONTR%C3%89AL/2252%20CH%20DE%20CHAMBLY?o=xml&key=<Bing_key>"));

      Actual Results:
      The Flash Player (debug version) will popup an error window saying that there is a security sandbox violation (Connection to http://dev.virtualearth.net/REST/v1/Locations/CA/QC/J4J3Z3/MONTRÉAL/2252 CH DE CHAMBLY halted - not permitted from http://127.0.0.1:8080/core/admin/WSSAdminFlow.swf)
      Add a SecurityErrorEvent.SECURITY_ERROR listener on load and it will be catched.

      Expected Results:
      No error and have the event Event.COMPLETE called on the URLRequest

      Workaround (if any):
      Replace all accented characters from the URL by a non accented character and it will work.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: