Quote:
Originally Posted by DustyPorViva
Not familiar with the wordfilter, so I'll use regex, but would something like this be possible for now?
RULE
CHECK pm
MATCH {php|png|jpg|jpeg|gif}\?.\>
PRECISION 100%
WORDPOSITION part
ACTION log replace
RULEEND
Be possible?
|
What are you trying to accomplish? The extension is unimportant. Only the Content-Type header matters. Even without a proper image content-type header, the browser is still going to try to load it, and I still get your IP. The best solution to disable images is Jer's:
Quote:
Originally Posted by fowlplay4
Append to wordfilter/rules.txt
PHP Code:
RULE CHECK pm MATCH <img PRECISION 100% WORDPOSITION part ACTION replace RULEEND
|
As far as I know, the wordfilter rules aren't advanced enough to allow certain text to be exempted (to create a whitelist). This would have to be done with login scripts or by Stefan.