jquery/test/unit
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.js Tests: Strip untypical callback parameter characters from PHP files 2021-04-29 18:38:11 +02:00
animation.js Tests: Partially use new qunit interface 2015-09-07 20:14:59 +03:00
attributes.js Attributes: ignore option value mismatch on untrimmed unicode whitespace 2016-03-17 13:03:39 -04:00
basic.js Effects: add back support.shrinkWrapBlocks() for ie6 2016-01-06 16:24:22 -05:00
callbacks.js Build: code style fixes after all those reverts 2015-12-22 18:51:04 +03:00
core.js Core: fix isPlainObject(Object.create) test in IE 2016-03-07 12:02:20 -05:00
css.js CSS: ensure table styles do not affect reliableHiddenOffsets test 2016-05-11 18:24:23 -04:00
data.js Build: code style fixes after all those reverts 2015-12-22 18:51:04 +03:00
deferred.js Build: code style fixes after all those reverts 2015-12-22 18:51:04 +03:00
deprecated.js Revert "Deprecated: Drop size and andSelf methods" 2016-01-07 12:25:47 -05:00
dimensions.js Tests: use jQuery variable instead of $ 2016-02-13 21:23:05 +03:00
effects.js Effects: add back support.shrinkWrapBlocks() for ie6 2016-01-06 16:24:22 -05:00
event.js Event: Add tests for chaining .on() with null handlers 2016-01-15 13:50:02 -05:00
exports.js Tests: Partially use new qunit interface 2015-09-07 20:14:59 +03:00
manipulation.js Tests: Disable/relax a few tests failing in Android 2.3 2016-01-07 23:07:58 +01:00
offset.js Revert "Offset: account for scroll when calculating position" 2016-02-09 00:10:02 +03:00
queue.js Revert "CSS: Make show/hide/toggle methods a module" 2015-12-22 14:24:15 +03:00
ready.js Build: code style fixes after all those reverts 2015-12-22 18:51:04 +03:00
selector.js Revert "Misc: Drop support for older browsers; update support comments" 2016-01-06 14:05:11 -05:00
serialize.js Build: code style fixes after all those reverts 2015-12-22 18:51:04 +03:00
support.js Tests: Strip untypical callback parameter characters from PHP files 2021-04-29 18:38:11 +02:00
traversing.js Tests: further improvements QUnit 2.0 migration 2015-09-08 04:15:54 +03:00
tween.js Revert "Effects: Remove additional parameters of easings" 2015-12-22 14:32:03 +03:00
wrap.js Wrap: correct tests length 2015-12-22 21:54:09 +03:00