FCLT#54923 CVE-2015-9251; XSS prevented in jQuery 2.2.4
svn path=/Website/trunk/; revision=39355
This commit is contained in:
1
APPL/Localscripts/jquery.mobile.min.js
vendored
1
APPL/Localscripts/jquery.mobile.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -8,6 +8,14 @@
|
||||
|
||||
window.fcltmobile = 1;
|
||||
|
||||
// Fix voor CVE-2015-9251 in jQuery 2.2.4 (FCLT#54923)
|
||||
// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)
|
||||
jQuery.ajaxPrefilter( function( s ) {
|
||||
if ( s.crossDomain ) {
|
||||
s.contents.script = false;
|
||||
}
|
||||
} );
|
||||
|
||||
$(document).bind("mobileinit", function() {
|
||||
|
||||
// Enhancement to use history.replaceState in supported browsers,
|
||||
|
||||
Reference in New Issue
Block a user