Skip to content

Commit f860dbe

Browse files
Fix regex pattern for URL extraction in workflow
1 parent 124ecfa commit f860dbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/phishdestroy-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
2929
- name: Extract URLs/domains from deployed site
3030
run: |
31-
grep -oE 'https?://[a-zA-Z0-9._~:/?#@!$&\'\(\)\*\+,;=%-]+' deployed_site.html | \
31+
grep -oE "https?://[a-zA-Z0-9._~:/?#@!$&'()*,;=%-]+" deployed_site.html | \
3232
sed 's|https\?://||' | cut -d'/' -f1 | sort | uniq > referenced_domains.txt
3333
3434
- name: Scan referenced domains against blocklist

0 commit comments

Comments
 (0)