Bug Tracker

Ticket #3808: test.ajax.3808.diff

File test.ajax.3808.diff, 516 bytes (added by d3r1v3d, 11 years ago)

Proposed patch to resolve this ticket.

  • src/ajax.js

     
    176176                // checked again later (in the test suite, specifically)
    177177                s = jQuery.extend(true, s, jQuery.extend(true, {}, jQuery.ajaxSettings, s));
    178178
     179        // strip any existing fragment (#) segment from the request URL
     180        s.url = s.url.replace(/#(.*)$/, '');
     181
    179182                var jsonp, jsre = /=\?(&|$)/g, status, data,
    180183                        type = s.type.toUpperCase();
    181184