FlyerTalk Forums - View Single Post - Slight bug in URL parsing
View Single Post
Old Jan 3, 2007 | 5:54 pm
  #3  
mahasamatman
A FlyerTalk Posting Legend
20 Countries Visited
2M
50 Countries Visited
20 Years on Site
 
Join Date: Apr 2004
Location: GVA (Greater Vancouver Area)
Programs: D.R.E.A.D. Gold card holder
Posts: 53,184
Originally Posted by Tim at WebFlyer
I believe that the ')' character is a valid character that can be part of a url string and that this is not quite a bug as there are cases were a valid url could contain/end with a ')' in it, it would break those urls with auto-parse if it didn't include it. I think the best solution now is to have white space (spaces or returns) before and after urls that are left to auto parse or manually entering/using the link tool for applications of a url like this.
Any non-whitespace character is valid in a URL, so that argument doesn't hold water. The auto-parser works with URLs followed by most other punctuation (periods, commas, exclamation points), which are all not only definitely valid, but very common in URLs. Since the 99.9999% use case for a right parenthesis is to set off a URL, the 0.0001% case of actually wanting to include one in a URL should be the one that people have to handle specially.
mahasamatman is offline