[imp] Strange linebreaks with Opera 7
Per Steinar Iversen
PerSteinar.Iversen at adm.hio.no
Tue Feb 25 12:17:22 PST 2003
On Tue, 25 Feb 2003, Jan Schneider wrote:
> Can anybody confirm that submitting the compose window using Opera 7 on
> Windows causes all linebreak to be doubled? It isn't even necessary to send
> the message, expanding names is enough.
>
> Can you please try other Opera versions/platforms so that we get an idea
> when and where this happens?
>
> Jan.
>
> --
> http://www.horde.org - The Horde Project
> http://www.ammma.de - discover your knowledge
> http://www.tip4all.de - Deine private Tippgemeinschaft
I get this effect with Opera 7.01 running on Windows XP.
Probably unrelated: The logic in Browser.php looks at a number of common
browsers. First it looks for the "MSIE ([0-9.]+)" expression and if found
sets the browser as MSIE. However, the agent string for Opera changes
depending on the setting... From the log of a small apache server:
Mozilla/4.0 (compatible; MSIE 5.0; Linux 2.4.19-gentoo-r10 i686) Opera 6.11 [en]
Mozilla/4.0 (compatible; MSIE 5.0; Linux 2.4.7-10 i686) Opera 6.02 [en]
Mozilla/4.0 (compatible; MSIE 5.0; Linux 2.4.9-21 i686) Opera 6.0 [en]
Mozilla/4.0 (compatible; MSIE 5.0; Windows 2000) Opera 6.05 [nb]
Mozilla/4.0 (compatible; MSIE 5.0; Windows 95) Opera 6.05 [nb]
Mozilla/4.0 (compatible; MSIE 5.0; Windows 98) Opera 6.04 [nn]
Mozilla/4.0 (compatible; MSIE 5.0; Windows 98) Opera 6.05 [en]
Mozilla/4.0 (compatible; MSIE 5.0; Windows XP) Opera 6.05 [nb]
Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.0) Opera 7.0 [en]
Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.1) Opera 7.01 [en]
Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.1) Opera 7.02 Bork-edition [en]
Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.1) Opera 7.0 [en]
Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows XP) Opera 7.0 [en]
Opera/7.01 (Windows NT 5.0; U) [en]
Opera/7.01 (Windows NT 5.1; U) [en]
Opera/7.0 (Windows NT 5.0; U) [en]
While a real MSIE looks like this:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
It seems to me that one really should check for MSIE last, not first, in
Browser.php, to catch browsers that tries to navigate a hostile web by
looking like MSIE. The current detection routine fail on Opera when it
hides as MSIE.
-psi
More information about the imp
mailing list