On 11/7/05, sixtus / gmail.com <sixtus / gmail.com> wrote:
> > It is your seatbelt on the receiving side by giving you a decent
> > message when it encounters bad data allowing you to handle it
> > gracefully rather than breaking.
> I consider throwing an exception as breaking. As I said, Firefox just
> renders the page, Ruby breaks. I'm willing to just overload URI with my
> expected behavior, if someone gives me a hint on where to look (I started
> and didn't see anything obvious).

Don't overload. If you get an exception, rescue and see if the URI
contains _ -- which are illegal. Print a warning and silently convert
_ to - and retry.

-austin
--
Austin Ziegler * halostatue / gmail.com
               * Alternate: austin / halostatue.ca