Skip to content

Regex Changes to Bad-Referers Section (Fix False Positives Behaviour)

Choose a tag to compare

@mitchellkrogza mitchellkrogza released this 19 Apr 09:30
· 3078 commits to master since this release

Regex changes to the Bad Referers section due to false positives.

Old Regex Patterns
SetEnvIfNoCase Referer "ads.gold" spam_ref=1

SetEnvIfNoCase Referer "chee-by.biz" spam_ref=1

SetEnvIfNoCase Referer "xn--1-8sbcpb0bdm8k6a.xn--p1ai" spam_ref=1

New Regex Patterns
SetEnvIfNoCase Referer "~*ads\.gold" spam_ref=1

SetEnvIfNoCase Referer "~*chee\-by\.biz" spam_ref=1

SetEnvIfNoCase Referer "~*xn\-\-1\-8sbcpb0bdm8k6a\.xn\-\-p1ai" spam_ref=1

Introduced as per Issue: #22

Thank You to @MediaSnog