How could i have broken uri?

My little spider/scraper thing happily iterated through a couple dozen
tail numbers and then said:

/usr/local/lib/ruby/1.8/uri/common.rb:432:in `split': bad URI(is not
URI?): http://registry.faa.gov/aircraftinquiry/nnumsql.asp?NNumbertxt=227P
(URI::InvalidURIError)
        from /usr/local/lib/ruby/1.8/uri/common.rb:481:in `parse'
        from /usr/local/lib/ruby/1.8/open-uri.rb:85:in `open'
        from tails.rb:47:in `faa'

Can anyone see how that's no a bad URI?

(Darn, it was just getting to the fun stuff.)

Thanks,
--Colin

Oops, nevermind, I did a .strip before the call and now it is happy.
No idea how a space would have snuck on there. Damn FAA webmasters...