Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User-Agents misdiagnosed as robot? #30

Open
als1 opened this issue Dec 30, 2011 · 2 comments
Open

User-Agents misdiagnosed as robot? #30

als1 opened this issue Dec 30, 2011 · 2 comments

Comments

@als1
Copy link

als1 commented Dec 30, 2011

I noticed a couple of User-Agents that are flagged as robot. This may be correct, but I think in these cases HTTP::BrowserDetect is getting tripped by the url in the User-Agent. The User-Agents appear to be IE 7 and 8 running with some embedded browser toolkit from balsa.com (they call it "Embedded Web Browser Pack"), which at some point added the url to the User-Agent on IE (I don't use IE, but did a bit of searching around).

Anyway, not a huge deal since it's probably a small number of cases, but I thought I'd let you know in case you want to handle these.

"Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; http://bsalsa.com) ; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.3; .NET4.0C)"
"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; http://bsalsa.com) ; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)"

% perl -MHTTP::BrowserDetect -nle 'print "robot: ".( HTTP::BrowserDetect->new($_)->robot ? "yes" : "no" )'
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; http://bsalsa.com) ; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; InfoPath.3; .NET4.0C)
robot: yes
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; http://bsalsa.com) ; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)
robot: yes

@oalders
Copy link
Owner

oalders commented Jan 1, 2012

Thanks very much for pointing this out. Are you motivated to provide a patch for this?

@als1
Copy link
Author

als1 commented Jan 1, 2012

Yes, I can look at that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants