Skip to main content

Bug Tracker

Side navigation

#12800 closed bug (invalid)

Opened October 29, 2012 10:47AM UTC

Closed December 07, 2012 09:11AM UTC

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:

Calling from an http url an https url does not send any error message when certificate is not installed. For example:

// From call:

$.ajaxSetup({cache: true, async: false});
        url: "",
        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

· ...

Attachments (0)
Change History (3)

Changed November 21, 2012 10:02PM UTC by dmethvin comment:1

owner: →
status: newpending

Sorry, we should have asked for a test case for this long ago. I realize it won't be possible to do a repro, can you put a test case on a server that we can examine? Please use as the source of jQuery so we can test the latest version.

Changed November 22, 2012 04:21PM UTC by jaubourg comment:2

Waiting for the test case but I'm not sure if browsers grant us enough access to handle the error gracefully.

Changed December 07, 2012 09:11AM UTC by trac-o-bot comment:3

resolution: → invalid
status: pendingclosed

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!