jquery/test/data
Michał Gołębiowski-Owczarek 90a3c43982 Tests: Strip untypical callback parameter characters from PHP files
Only allow alphanumeric characters & underscores for callback parameters.
This is only test code so we're not fixing any security issue but it happens
often enough that the whole jQuery repository directory structure is deployed
onto the server with PHP enabled that it makes is easy to introduce security
issues if this cleanup is not done.

This is a 1.x/2.x version of PR gh-4871.

The change doesn't require a release; it's meant at installations testing
the latest state of `1.12-stable` & `2.2-stable` branches.

This change also fixes testing on Travis & on Chrome/Firefox.

Closes gh-4875
Ref gh-4764
Ref gh-4871

(cherry picked from acb7c49c8d)
2021-04-29 18:38:11 +02:00
..
ajax Ajax: improve content-type detection 2015-10-12 22:38:59 +03:00
core Core: Change the sleep time in dont_return.php from 100s to 30s 2014-03-19 02:29:38 +01:00
css Revert "Misc: Drop support for older browsers; update support comments" 2016-01-06 14:05:11 -05:00
data Data: Work around IE11 bug with onpageshow attribute 2014-04-30 11:00:14 -04:00
dimensions Revert "Misc: Drop support for older browsers; update support comments" 2016-01-06 14:05:11 -05:00
event Core: use interactive to evaluate dom ready, barring IE6-10 2016-01-14 10:18:31 -05:00
manipulation Ref #13316: Sync all test documents on full vs. minified source. 2013-02-08 00:20:33 -05:00
offset Tests: Change quotes according to style guidelines 2015-10-25 15:07:50 -04:00
selector Ref #13316: Sync all test documents on full vs. minified source. 2013-02-08 00:20:33 -05:00
support CSS: ensure table styles do not affect reliableHiddenOffsets test 2016-05-11 18:24:23 -04:00
1x1.jpg Fixes #11426: getting the responseText of an xhr should be tried/caught because of IE's inability to give access to binary data. Unit test added. 2012-03-07 15:39:39 +01:00
atom+xml.php Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
badcall.js Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
badjson.js Build: code style fixes after all those reverts 2015-12-22 18:51:04 +03:00
cleanScript.html Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
dashboard.xml Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
echoData.php Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
echoQuery.php Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
errorWithJSON.php Fixes #11151, #13388. Minor refactor of response conversion and when/where 2013-02-28 14:47:39 -05:00
errorWithText.php Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
etag.php Ajax: Use weak ETag header in tests 2013-11-26 14:16:12 -05:00
headers.php Fix #14503: Cast to string before setting XHR header. Close gh-1427. 2013-11-14 20:32:56 -05:00
if_modified_since.php Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
iframe.html Fix indentation in /speed and /test dirs, closes gh-780. 2012-05-18 13:28:50 -04:00
jquery-1.9.1.js Event: fix incorrect test 2015-10-12 18:38:41 +03:00
json_obj.js Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
json.php Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
jsonp.php Tests: Strip untypical callback parameter characters from PHP files 2021-04-29 18:38:11 +02:00
name.html Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
name.php Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
nocontent.php Don't try and convert data for 204 No Content responses. Fixes #13292. Fixes #13261. 2013-01-24 02:35:07 +01:00
params_html.php Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
readywaitasset.js Add readyWait tests. Fixes #8145. 2011-02-12 13:53:05 +01:00
readywaitloader.js Build: Update jscs and lint files 2015-09-07 20:14:50 +03:00
script.php Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
statusText.php Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
test2.html Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
test3.html Ajax: .load() should trim its selector 2014-03-04 21:50:40 -05:00
test.html Tests: Fix failing ajax tests in oldIE 2014-04-15 17:46:26 +04:00
test.php Tests: Fix failing ajax tests in oldIE 2014-04-15 17:46:26 +04:00
testbar.php Tests: Fix failing ajax tests in oldIE 2014-04-15 17:46:26 +04:00
testinit.js Effects: Remove tests for jQuery.Animation & jQuery.Tween 2015-12-22 20:31:13 +03:00
testrunner.js Revert "CSS: Ignore the CSS cascade in show()/hide()/etc." 2015-12-22 16:00:15 +03:00
testsuite.css Build: use tabs in CSS, also simplify and correct .editorconfig 2016-02-11 22:56:03 +03:00
text.php Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00
with_fries_over_jsonp.php Tests: Strip untypical callback parameter characters from PHP files 2021-04-29 18:38:11 +02:00
with_fries.xml Revert "Organizes the php scripts used for testing better, so that the whole logic of a unit, server-side and client-side, is contained within the unit itself. Nearly all ajax unit tests take advantage of the new 'framework'. Lots of files got deleted because they became redundant or weren't used anymore." 2012-12-05 14:54:14 +01:00