Skip Menu |
 

This queue is for tickets about the HTML-ParseBrowser CPAN distribution.

Report information
The Basics
Id: 405
Status: resolved
Priority: 0/
Queue: HTML-ParseBrowser

People
Owner: Nobody in particular
Requestors: doobedoo1 [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: (no value)
Fixed in: (no value)



Subject: does not always recognize opera 6.01
Download (untitled) / with headers
text/plain 109b
correctly identifies opera 6.01 for all browsers oper is faking except msie 5, then that one is identified...
Download (untitled) / with headers
text/plain 802b
[guest - Mon Mar 25 05:16:34 2002]: Show quoted text
> correctly identifies opera 6.01 for all browsers oper is faking except > msie 5, then that one is identified...
*blinks* Um, you know, to be totally honest, I don't know what to say about this one. Do you have any suggestions as to how to identify a UserAgent string used by Opera posing as IE 5? If you can post the UserAgent string in question, I can take a look and see if I can do this. The thing is, if it's really identical to an MSIE 5 UserAgent string, there's nothing that can be done. The host of regexes and weird logic this module uses already makes it extremely hard to overcome cases in which the browser is actually *trying* to fool it. Actually, the fact that it gets the other cases right is kind of a happy surprise to me! -- Dodger
Subject: does not always recognize opera 6.01/2
the string opera send when imitating ie looks somthing like this: Mozilla/4.0 (compatible; MSIE 5.0; Windows XP) Opera 6.02 [en] so the browser is identifiable my workaround is to search for the "opera" string, but that could be done better... [DODGER - Thu May 16 18:34:09 2002]: Show quoted text
> [guest - Mon Mar 25 05:16:34
2002]: Show quoted text
>
> > correctly identifies opera 6.01 for all browsers oper is faking
>
except Show quoted text
> > msie 5, then that one is identified...
> > > *blinks* > Um, you know,
to be totally honest, I don't know what to say about Show quoted text
> this > one. Do you have any
suggestions as to how to identify a UserAgent Show quoted text
> string used by Opera posing as IE 5? >
Show quoted text
> If you can post the UserAgent string in question, I can take a look > and > see if I
can do this. The thing is, if it's really identical to an Show quoted text
> MSIE > 5 UserAgent string,
there's nothing that can be done. The host of Show quoted text
> regexes and weird logic this module uses
already makes it extremely Show quoted text
> hard to overcome cases in which the browser is actually
*trying* to Show quoted text
> fool it. Actually, the fact that it gets the other cases right is kind >
of a happy surprise to me!


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.