News for hackers. Stuff that matters.
Re:"It seemed like a good idea at the time": Berners-Lee 'so... by warwick on Wednesday October 14, 2009 @11:09AM (#881434)
It really doesn't. For example, try the URL http://paulgraham.com://articles.html
Re:"It seemed like a good idea at the time": Berners-Lee 'so... by mseebach on Wednesday October 14, 2009 @12:08PM (#881563)
Yeah it does. try this:

paulgraham.com://articles.html

The separators aren't to be matched globally, their order in the URL matters. The first // separates protocol from host. The second // isn't really - it's one slash to separate path from host, and the second slash is part of the path.