Add = for matcher
parent
183bf2ffe1
commit
1d561d5d3b
|
@ -27,7 +27,7 @@ http:
|
|||
- type: xpath
|
||||
part: body
|
||||
xpath:
|
||||
- "//script[contains(@src,'//') and not(matches(translate(@integrity,'ABCDEFGHIJKLMNOPQRSTUVWXYZ+/-','abcdefghijklmnopqrstuvwxyz+/-'), '^sha(256|384|512)-'))]"
|
||||
- "//script[contains(@src,'//') and not(matches(translate(@integrity,'ABCDEFGHIJKLMNOPQRSTUVWXYZ+/-=','abcdefghijklmnopqrstuvwxyz+/-='), '^sha(256|384|512)-'))]"
|
||||
|
||||
- type: word
|
||||
words:
|
||||
|
@ -38,6 +38,6 @@ http:
|
|||
- type: xpath
|
||||
attribute: src
|
||||
xpath:
|
||||
- "//script[contains(@src,'//') and not(matches(translate(@integrity,'ABCDEFGHIJKLMNOPQRSTUVWXYZ+/-','abcdefghijklmnopqrstuvwxyz+/-'), '^sha(256|384|512)-'))]"
|
||||
- "//script[contains(@src,'//') and not(matches(translate(@integrity,'ABCDEFGHIJKLMNOPQRSTUVWXYZ+/-=','abcdefghijklmnopqrstuvwxyz+/-='), '^sha(256|384|512)-'))]"
|
||||
|
||||
# digest: 4a0a0047304502200e29fdf3695b4eadfb362a6ec5332dff4696a4564e73a096a609363b81776126022100a0e6443350ecc806ce4da1a80d628339d3515f387129fc50651ee687b8265bb8:922c64590222798bb761d5b6d8e72950
|
||||
|
|
Loading…
Reference in New Issue