My URLs normally look like this:

http://www.mysite.com/v003/?_s=xx0045&_id=BK807317371

but occasionally one arrives like this:

http://www.mysite.com/v003/?_s=xx0045&_id=BK807317371*;bcsi-ac-3CA58FAD43257DE1=1E08471000000005HI6/ziFwyMTzliaD2x6OYpIvEvYyAAAABQAAAK5uLgCAcAAAAQAAAPOKAAA=*

Some googling revealed that the*;bcsi-ac*... stuff is probably some basic authentication information added by a not-too-clever proxy. It surprised me to also learn that the semicolon is a valid query item separator (http://stackoverflow.com/questions/3481664/semicolon-as-url-query-separator). If WebUtils.FieldStorage had known this then my code would have happily ignored this junk and my user would have been OK.

In my view nobody should go around adding parameters to other programs' URLs, so I consider this problem the fault of whatever added that junk. I thought I'd mention it for interest, and in case it affects anybody else.


  Oliver
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to