Pump Details->Order Part fails when Model Name has spaces

greenspun.com : LUSENET : SmartPart Development : One Thread

The pumplist.asp page (actually showing all the details for a single pump), e.g. http://www.smartpart.net/cgi-bin/findpump/pumplist.asp?id=C00065,,,2001210015

gives an error when one follows the link to order a part: e.g.:

http://www.smartpart.net/cgi-bin/partsorder/partslist.asp?Asset=C00065&serial=2001210015&model=KGE 11-3 ARR-A CI

when the model name has spaces. Basically whenever a url of this sort is created the spaces and other special characters (like ampersands) in the generated URL should be escaped, e.g. space should be converted to %20 etc. etc.

-- Anonymous, June 24, 2002


Moderation questions? read the FAQ