Scott Hanselman

Why is it that _I_ find all the weird edge case bugs?

April 6, '04 Comments [9] Posted in Bugs
Sponsored By

Here's a fanstastic bug, but what's funny is that it is acting exactly as it should!  Newsgator is smart enough to follow HTTP 302 Responses, but when I went to the MVP Summit the Hotel's internal Internet (Lodgenet) was redirecting ALL HTTP GETs to their registration site.  Happily following instructions, Newsgator updated my subscriptions and ate my OPML file.  Sigh. 

Thankfully I had a NewsGator Subscription, and went online to get my server-side copy and I'm back up.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by SherWeb
Tuesday, 06 April 2004 22:20:56 UTC
Permanently overwriting in response to a 302 is what I would call an extremely serious bug. 302 is temporary redirect. At best, it should ask, but NEVER permanently overwrite from a 302.

A 301, on the other hand, is okay. That's a permanent redirect.
Tuesday, 06 April 2004 22:24:09 UTC
Don't think of it as you getting stuck with weird bugs that nobody else has experienced.

Instead think "I am a pioneer!"
Tuesday, 06 April 2004 22:52:05 UTC
I would agree - overwriting URL's in response to a 302 is a serious bug.

However, we've seen this before in certain hotels. They are actually redirecting with a 301, not a 302 - and a 301 is a PERMANENT redirect.

One of our customers has gone round and round with Cisco on this (it's their hardware that we've seen do this), and they have yet to see the problems in their ways. It's very unfortunate.
Tuesday, 06 April 2004 23:22:58 UTC
I got burnt by Sharpreader & a hotel in the same way a long time back. I'd backed up my OPML file on a whim about 2 days previous.

frustrating though. I was in a hotel the other week that gave free wireless access, but still directed you to a site where you clicked 'register' which took you straight to the requested URL. nothing like a waste of a couple of HTTP requests!
Ian White
Wednesday, 07 April 2004 00:35:25 UTC
Bah! Cisco sucks! :-p
Wednesday, 07 April 2004 00:57:20 UTC
Makes me glad that I'm using Terminal Services to access my Outlook (and Newsgator) machine at home on the East coast, even if it is painfully slow. ;-)

Wednesday, 07 April 2004 22:55:08 UTC
I had exactly this happen to me a few weeks ago. http://blogs.msdn.com/micahel/archive/2004/03/24/95355.aspx.
Wednesday, 07 April 2004 22:59:05 UTC
Easy fix for Greg/Newsgator -- check the URL to which the redirect leads (for 301) and only update the stored URL if the new URL contains a valid RSS file. If it doesn't, keep the current URL (most likely it will send the 301 for a while, but unless/until it redirects to an RSS file, it's not being helpful so ignore it).
Friday, 09 April 2004 16:55:25 UTC
I got burned as well in the W. I am working with Greg to get mine fixed since I didnt use NGOS in a few months.
Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.