mirror of
https://github.com/kkroening/ffmpeg-python.git
synced 2026-06-04 17:58:19 +08:00
doc/html/_static/jquery-3.2.1.js: Ajax: Mitigate possible XSS vulnerability
This commit is contained in:
parent
df129c7ba3
commit
7e7e2f424d
5
doc/html/_static/jquery-3.2.1.js
vendored
5
doc/html/_static/jquery-3.2.1.js
vendored
@ -8712,6 +8712,11 @@ function ajaxConvert( s, response, jqXHR, isSuccess ) {
|
||||
// Convert response if prev dataType is non-auto and differs from current
|
||||
} else if ( prev !== "*" && prev !== current ) {
|
||||
|
||||
// Mitigate possible XSS vulnerability (gh-2432)
|
||||
if ( s.crossDomain && current === "script" ) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Seek a direct converter
|
||||
conv = converters[ prev + " " + current ] || converters[ "* " + current ];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user