cancel
Showing results for 
Search instead for 
Did you mean: 

Why am I getting "[Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)"? How do I solve the problem?

Highlighted
New User

Why am I getting "[Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)"? How do I solve the problem?

I'm trying to implement CORS ajax request.

The server implements basic auth. The server responds with http 401 unathorized.

When I add the username and password to the request, I get this error message on the firebug console.

It doesn't appear the request was sent to the server, this message comes from the browser.

Tags (2)