-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I really appreciate this small software, I like to add my 2 cents on configuration of filter.txt file.
I need to ignore URLs like:
Probably an antivirus trying to access the webpage for some security check.
Instead of multiply the lines in the configuration file for each subdomain used by the software house, I'd like to ignore the domain kaspersky-labs.com entirely.
I'm not a developer but I think I could change this line:
go-csp-collector/internal/handler/csp.go
Line 128 in bc93b09
| if strings.HasPrefix(r.Body.BlockedURI, value) { |
and use strings.Contains instad of strings.HasPrefix, if you think is an acceptable change I'll try to arrange a PR for this.
chennin
Metadata
Metadata
Assignees
Labels
No labels