Search and Top Navigation
#5484 closed bug (notabug)
Opened April 05, 2010 11:33PM UTC
Closed April 06, 2010 01:14PM UTC
Last modified October 11, 2012 09:15PM UTC
Jsonp request with SSL redirect in success callback
Reported by: | cblaze22 | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | ui.core | Version: | 1.8 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
There is a bug in the jquery ajax jsonp request on success when doing a redirect from http to https. The error happens on this line.
window[ jsonp ] = undefined;
I am making a https ajax call and doing a redirect in the success page with http.
window.location = window.location.toString().replace('https://', 'http://') + '?success';
The jquery success method finishes up, but still tries to finish by trying to access the window in the dom, but can't because it was originally from an https page, and now its on a http page.
Invalid wrong bug tracker