Bug Tracker

Modify

Ticket #4162 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

Error on HTTPS.

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

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

comment:1 Changed 4 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 4 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 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.