Opened 10 years ago
Closed 10 years ago
#12800 closed bug (invalid)
Error not handled calling https from http without installed certificate
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Calling from an http url an https url does not send any error message when certificate is not installed. For example:
// From http://myurl.com/test call: $.ajaxSetup({cache: true, async: false}); $.ajax({ url: "https://myurl.com/test", type: 'GET', dataType: 'json', success: function(...) { ... }, error: function(...) { ... } });
To handle this "problem" I must add some source code inside "send: function( _, callback )" adding script.onerror. I don't know which is the best sollution:
· Throwing an exception
· Calling error
· Adding a if(s.fatal) s.fatal(...) method for backwards compatibility
· ...
Change History (3)
comment:1 Changed 10 years ago by
Owner: | set to [email protected]… |
---|---|
Status: | new → pending |
comment:2 Changed 10 years ago by
Waiting for the test case but I'm not sure if browsers grant us enough access to handle the error gracefully.
comment:3 Changed 10 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Sorry, we should have asked for a test case for this long ago. I realize it won't be possible to do a jsfiddle.net repro, can you put a test case on a server that we can examine? Please use http://code.jquery.com/jquery-git.js as the source of jQuery so we can test the latest version.