Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #13116

Re: Safari XHR Error

Date 2012-03-29 12:05 -0500
From MC <news@aisus.com>
Newsgroups comp.lang.javascript
Subject Re: Safari XHR Error
References <4bd1f$4f7476a3$cf9b42fc$12752@ALLTEL.NET>
Message-ID <999c1$4f749935$cf9b42fc$31069@ALLTEL.NET> (permalink)
Organization UseNetServer.com

Show all headers | View raw


I found a solution for the problem.

It seems that Safari will accepts a relative URL for the XHR but does 
NOT post it to the root domain. Setting the the the URL to 
"https://mydomain.com/ws/myaction.jsp" worked. It appears Safari was 
posting relative, ie, my calling resource is located at 
https://mydomain.com/someDir/somePage.html such that a URL of 
"/ws/myaction.jsp" is posted to 
"https://mydomain.com/someDir/ws/myaction.jsp".

None of the other browsers do this..bug???

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Safari XHR Error MC <news@aisus.com> - 2012-03-29 09:37 -0500
  Re: Safari XHR Error Tim Streater <timstreater@greenbee.net> - 2012-03-29 15:45 +0100
    Re: Safari XHR Error MC <news@aisus.com> - 2012-03-29 10:04 -0500
  Re: Safari XHR Error Gregor Kofler <usenet@gregorkofler.com> - 2012-03-29 17:22 +0200
  Re: Safari XHR Error MC <news@aisus.com> - 2012-03-29 12:05 -0500
    Re: Safari XHR Error Gregor Kofler <usenet@gregorkofler.com> - 2012-03-29 20:26 +0200
      Re: Safari XHR Error MC <news@aisus.com> - 2012-03-29 14:26 -0500
        Re: Safari XHR Error Gregor Kofler <usenet@gregorkofler.com> - 2012-03-29 21:54 +0200
          Re: Safari XHR Error MC <news@aisus.com> - 2012-03-29 15:24 -0500
    Re: Safari XHR Error Eric Bednarz <bednarz@fahr-zur-hoelle.org> - 2012-03-29 22:28 +0200
      Re: Safari XHR Error David Mark <dmark.cinsoft@gmail.com> - 2012-03-29 18:06 -0700
  Re: Safari XHR Error "Richard Cornford" <Richard@litotes.demon.co.uk> - 2012-03-29 21:39 +0100
    Re: Safari XHR Error MC <news@aisus.com> - 2012-03-29 16:07 -0500
      Re: Safari XHR Error Scott Johnson <noonehome@chalupasworld.com> - 2012-03-29 17:30 -0700
      Re: Safari XHR Error "Richard Cornford" <Richard@litotes.demon.co.uk> - 2012-03-30 01:46 +0100
      Re: Safari XHR Error David Mark <dmark.cinsoft@gmail.com> - 2012-03-29 14:54 -0700

csiph-web