From 242bca759229d901dbfe08612b9f9c66cde86bce Mon Sep 17 00:00:00 2001 From: nodauf Date: Tue, 1 Dec 2020 09:29:47 +0100 Subject: [PATCH 1/2] Using regex to detect when a hash is used There is some case where the like to the css file contains the hash of the file and looks like: `/dana-na/css/ds_.css` With this modification the case above will be detected --- panels/pulse-secure-panel.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panels/pulse-secure-panel.yaml b/panels/pulse-secure-panel.yaml index 48ff7a1179..f27cfff696 100644 --- a/panels/pulse-secure-panel.yaml +++ b/panels/pulse-secure-panel.yaml @@ -18,5 +18,5 @@ requests: - type: word words: - - "/dana-na/css/ds.css" + - "(?i)/dana-na/css/ds(_[a-f0-9]{64})?.css" part: body From 3bb362c2e7da3f6237c241c2a70a1af0ac123f49 Mon Sep 17 00:00:00 2001 From: bauthard <8293321+bauthard@users.noreply.github.com> Date: Tue, 1 Dec 2020 18:56:59 +0530 Subject: [PATCH 2/2] updating matcher type --- panels/pulse-secure-panel.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/panels/pulse-secure-panel.yaml b/panels/pulse-secure-panel.yaml index f27cfff696..48110dddb5 100644 --- a/panels/pulse-secure-panel.yaml +++ b/panels/pulse-secure-panel.yaml @@ -16,7 +16,7 @@ requests: - "/dana-na/auth/welcome.cgi" part: header - - type: word - words: + - type: regex + regex: - "(?i)/dana-na/css/ds(_[a-f0-9]{64})?.css" - part: body + part: body \ No newline at end of file