FlyerTalk Forums - View Single Post - Slight bug in URL parsing
View Single Post
Old Jan 3, 2007 | 11:52 am
  #1  
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
Slight bug in URL parsing

The URL auto parser (the one that takes URLs and automatically puts them inside a [.url][/.url] pair) does not behave correctly with parenthesis.

Example: enter the following in a post:
Code:
See this link (http://www.united.com/page/article/0,6722,51366,00.html)
and you will see the generated [.url][/.url] pair will have the right parenthesis inside the tag, i.e. See this link ([.url]http://www.united.com/page/article/0,6722,51366,00.html)[/.url]

(Note: I use .url in this post to prevent the parser from actually interpreting the url tags).
mahasamatman is offline