Forum OpenACS Q&A: Re: rl_returnz turned on at openacs.org

Collapse
Posted by Jeff Davis on
Frank, two things, the first is that it really isn't my code. It was originally written by Jim Wilcoxson (for rubylane.com hence the rl) I just patched it to handle character encodings.

The second is, of the 100k hits in the openacs log only 55 actually trigger the old mozilla rule and of those I would say probably 25 or so are fake UA strings (typically robots probing for formmail.pl holes or other spidery things and if they advertise accepting gzip then thats their problem).

So for the 0.03% of browsers we might cause a problem for and given what those users web experience must be like already, I certainly am not going to go out of my way to fix it.

If you do want to fix it then I would say that you should probably match on "Mozilla/4.0[0-9]" since I also see things like Mozilla/4.0+(compatible;+MSIE+6.0;) and Mozilla/4.0+(compatible;) (spiders I would assume).