Trim UA block list for false positives #189
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
After 1,5 months of using your UA block list in a production environment of a certain size, we had to make some local alterations to weed out false positives we were encountering. I'm submitting them all here, together with an explanation and justification for each, presented as individual commits in case you feel they need to be cherry-picked.
Do note that we're not using the list "as intended", but rather consume the source list directly to use in HAProxy, where we do case-insensitive sub-string matching against the client's UA. If you feel there's a better (unified) way to make use of this data - such as use word boundaries or case sensitivity or whatnot - I'm all ears.
Thanks for all your hard work!