ruby-zoom 5.4.1 → 5.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zoom/profile/unsafe_js.rb +4 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ac7af1f970c89aa885f5028e071fd5332c399b1f33513bc2a5fc1e5d57c5d90
|
4
|
+
data.tar.gz: 1bfaf50b94f3547b77ff6c6a75702a0efb87db9e1ae0f1a3fb57699b022dda8c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ec53087e54277f2c428d18222cdf3dd751aac54a78100122de5363256858274844aea226fd27f9c22e9614653417585964462990d5ea70cb0fd442091dc3319
|
7
|
+
data.tar.gz: 853058a1c13268acccc1a18cec4d186ca0456b09b3d47d6a33b96810e8bacf3625993a4e1c3950ebd259625832e01d12394ab3ed42c1099ef5cf2351c672a419
|
@@ -5,13 +5,14 @@ class Zoom::SecurityProfile::UnsafeJs < Zoom::SecurityProfile
|
|
5
5
|
super(n, t, f, b, a)
|
6
6
|
@exts = ["js", "jsx", "vue"]
|
7
7
|
@regex = [
|
8
|
-
"
|
8
|
+
"\\.?",
|
9
9
|
"(",
|
10
10
|
[
|
11
11
|
"(append|eval|html)\\(",
|
12
|
-
"innerHTML"
|
12
|
+
"innerHTML\\s*="
|
13
13
|
].join("|"),
|
14
|
-
")"
|
14
|
+
")",
|
15
|
+
"\\s*($|([\"'][^\"']+[\"']\\s*\\+\\s*)?[^\"'; )]+)"
|
15
16
|
].join
|
16
17
|
end
|
17
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-zoom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.4.
|
4
|
+
version: 5.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Whittaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -233,7 +233,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
233
233
|
- !ruby/object:Gem::Version
|
234
234
|
version: '0'
|
235
235
|
requirements: []
|
236
|
-
rubygems_version: 3.0.
|
236
|
+
rubygems_version: 3.0.4
|
237
237
|
signing_key:
|
238
238
|
specification_version: 4
|
239
239
|
summary: Quickly open CLI search results in your favorite editor!
|