in reply to Sensible error handling
AFAIK, ";" is a perfectly valid separator for parameters and can be used instead of "&" (eg. http://myserver/page?msg=Hello+World;empty=;number=0). So it seems your parameter parsing code has a problem as well -- the invalid URLs aren't.
Apart from that, I second your statement -- it is often better to be a bit more liberal about validating your input than to throw unnecessary fatal errors at the user.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Sensible error handling
by vladb (Vicar) on May 02, 2003 at 19:03 UTC | |
by wil (Priest) on May 05, 2003 at 13:24 UTC |
In Section
Meditations