jquery/test
Michał Gołębiowski-Owczarek acb7c49c8d
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
2021-04-29 18:27:58 +02:00
..
data Tests: Strip untypical callback parameter characters from PHP files 2021-04-29 18:27:58 +02:00
integration Event: Fix delegated radio events when arrow keys are used 2015-10-18 13:06:37 -04:00
node_smoke_tests Build: Update jscs and lint files 2015-09-07 20:03:50 +03:00
unit Tests: Strip untypical callback parameter characters from PHP files 2021-04-29 18:27:58 +02:00
.jshintrc Tests: further improvements QUnit 2.0 migration 2015-09-08 04:06:20 +03:00
delegatetest.html Tests: Change quotes according to style guidelines 2015-10-18 13:17:23 -04:00
hovertest.html Ref #13316: Sync all documents on full vs. minified source. Close gh-1147. 2013-02-07 15:16:28 -05:00
index.html Revert "Deferred: Backwards-compatible standards interoperability" 2015-11-13 15:58:58 +03:00
jquery.js Build: use hard-coded path to sizzle in selector-sizzle 2016-02-22 10:43:02 -05:00
localfile.html Ref #13316: Sync all documents on full vs. minified source. Close gh-1147. 2013-02-07 15:16:28 -05:00
networkerror.html Tests: Change quotes according to style guidelines 2015-10-18 13:17:23 -04:00
promises_aplus_adapter.js Build: correct style tests files which could be automatically corrected 2015-09-07 20:03:50 +03:00
readywait.html Ref #13316: Sync all documents on full vs. minified source. Close gh-1147. 2013-02-07 15:16:28 -05:00
xhtml.php Added a way to run the test suite as an XHTML page. 2009-01-19 18:14:51 +00:00