Navigation

RSS 2.0 New Entries Syndication Feed Atom 0.3 New Entries Syndication Feed

Show blog menu v

 

General

Use it

Documentation

Support

Sibling projects

RIFE powered

Valid XHTML 1.0 Transitional

Valid CSS!

Blogs : Archives

avatar
< RIFE v0.8.1 has been released   The irony of warranty >
Internet Explorer doesn't even handle redirects correctly!

We got complaints from users of Bamboo that after posting a new forum message, they weren't brought to their recently posted message but to the first message in the thread instead. We were completely baffled since it worked perfectly in FireFox, and all we did was redirect to:

/forum/list/messages?topicid=1159&offset=75#goto_6362

Nothing extraordinary there, right?

Well, that's forgetting about Internet Explorer's ability to introduce bugs in even the most trivial areas. Instead of providing these parameters to the web application:

topicid=1159
offset=75

It manages to not strip off the anchor and provides these parameters instead:

topicid=1159
offset=75#goto_6362

I thus inded up handling this directly in RIFE. When the sendRedirect(String url) method is called, it checks for the user agent and if it's Internet Explorer and the URL contains an anchor, it does a refresh instead of a redirect. This shows a white screen to Internet Explorer users for a small moment, but it's the only way we've found around this bug.

Again, Microsoft was able to suck up about 4 hours of my time, without me getting paid anything. It's about time people that start to talk about Windows and Internet Explorer not only being less productive than MacOSX or Linux, but even people that don't use the applications themselves are forced to handle the stupidities that lurk inside.

posted by Geert Bevin in Internet on Oct 1, 2004 8:34 AM : 2 comments [permalink]
 

Comments

Re: Internet Explorer doesn't even handle redirects correctly!

Technically: /forum/list/messages?topicid=1159&offset=75#goto_6362 is not a valid redirect. Section 14.30 of the HTTP 1.1 spec http://www.ietf.org/rfc/rfc2616.txt states: "The [Location] field value consists of a single absolute URI." It could be IE actually follows a spec for once more strictly than any other browsers.

But yea, I feel your pain when it comes to IE making my job so much harder.

Re: Internet Explorer doesn't even handle redirects correctly!

In this case Firefox is wrong and IE is correct in its behavior. I have found that Firefox has many bugs in it and fails to follow the spec on many occasions. Coding to make things work in Firefox will break your code for most other browsers.

Add a new comment

:) ;)
=) :-)
:'( :(
:/ :D
:| :p
:o 8)
Your email address will not be displayed at anytime on any page.
Only provide your email address if you'd like updates on this entry
and it's comments by email.
Please answer this simple math question:
11 - 9 = 
 
 
  

Manage subscription

Remove email:
 

< RIFE v0.8.1 has been released   The irony of warranty >
 
 
 
Google
rifers.org web