aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2021-04-29 18:27:58 +0200
committerMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2021-04-29 18:38:11 +0200
commit90a3c439828e21e291b65d4dfc1da6774d611aaa (patch)
treeda3df21aa4db812dd79ea0771af68c5deeed262f /.travis.yml
parente09907ce152fb6ef7537a3733b1d65ead8ee6303 (diff)
downloadjquery-1.12-stable.tar.gz
jquery-1.12-stable.zip
Tests: Strip untypical callback parameter characters from PHP files1.12-stable
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 acb7c49c8d42f601fa347661b1118959079f6b52)
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 34f4d9aec..be6208602 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,8 +1,9 @@
language: node_js
-sudo: false
+os: linux
node_js:
-- "0.10"
-- "0.12"
- "4"
-- "5"
- "6"
+- "8"
+- "10"
+- "12"
+- "14"