0 Replies Latest reply on Dec 1, 2010 12:23 AM by Sjoerd_Brandsma

    SecurityError: Error #2048 when using special characters in request url


      Hi all,


      I'm facing a really strange problem with requesting address data from a in-house developed address webservice that can be accessed using a HTTPS connection.


      The problem is that I get the following error when a request has been made with special characters in the url:


      SecurityError: Error #2048: Security sandbox violation: http://www.foo.com/myapp.swf cannot load data from

      https://www.bar.com/myservice.svc/Aleja Legionów ul., BYTOM.


      The url is encoded using encodeURIComponent. Fiddler show's a correctly encoded url:




      The server send a normal response back.


      The weird thing is that this only happens on FireFox with special characters in the url. With normal characters, it works fine.

      On IE everything works fine..



      crossdomain.xml of the www.foo.com:

      <site-control permitted-cross-domain-policies="all"/>
      <allow-http-request-headers-from domain="*" headers="*" secure="false"/>
      <allow-access-from domain="*" headers="*" secure="false"/>



      Any help is appreciated.



      Best regards,

      Sjoerd Brandsma