Bug Tracker

Opened 10 years ago

Closed 10 years ago

#4162 closed bug (invalid)

Error on HTTPS.

Reported by: itbeings Owned by:
Priority: critical Milestone: 1.3.2
Component: ajax Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:

Description

ajax not working. This error was seen on firebug.

Access to restricted URI denied" code: "1012 [Break on this error] xhr.open(type,s.url,s.async);try{if(s.da...[s.url]=modRes;if(!jsonp)success();}else

Change History (3)

comment:1 Changed 10 years ago by dmethvin

Can you provide a test case? It sounds like this may be a cross-domain issue but you haven't provided enough information to tell.

comment:2 Changed 10 years ago by itbeings

Well, you could say cross-domain issue, because am calling http://api.domain.com from https://domain.com

comment:3 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

Read up here:

http://taossa.com/index.php/2007/02/08/same-origin-policy/

You will need to set document.domain to the base domain name.

Note: See TracTickets for help on using tickets.