URL parsing issues
#1
Mod Emeritus
Thread Starter
Join Date: Feb 1999
Location: Central Vermont
Posts: 3,883
Likes: 0
Received 0 Likes
on
0 Posts
I've noticed that auto creation of URL links that the vB software does has at least one issue (maybe more).
The url is truncated if there is a comma in it. I see these on a regular basis (especially news articles), so it would be a good idea if they could fix it. Bellow is an example.
Incorrect:
http://www.eonline.com/News/Items/0,1,6462,00.html
Correct (w/ vB code):
http://www.eonline.com/News/Items/0,1,6462,00.html
Correct (w/ HTML code):
<a href="http://www.eonline.com/News/Items/0,1,6462,00.html" tergat=_blank>http://www.eonline.com/News/Items/0,1,6462,00.html</a>
I've also seen some cases where the really long URLs get truncated even when manually typing in the vB code (only HTML code works in those cases).
The url is truncated if there is a comma in it. I see these on a regular basis (especially news articles), so it would be a good idea if they could fix it. Bellow is an example.
Incorrect:
http://www.eonline.com/News/Items/0,1,6462,00.html
Correct (w/ vB code):
http://www.eonline.com/News/Items/0,1,6462,00.html
Correct (w/ HTML code):
<a href="http://www.eonline.com/News/Items/0,1,6462,00.html" tergat=_blank>http://www.eonline.com/News/Items/0,1,6462,00.html</a>
I've also seen some cases where the really long URLs get truncated even when manually typing in the vB code (only HTML code works in those cases).
#2
DVD Talk Reviewer/ Admin
Join Date: Sep 1999
Location: Greenville, South Cackalack
Posts: 28,890
Received 1,900 Likes
on
1,249 Posts
Commas are used as a delimiter in vBulletin, which means that specific parsing quirk isn't a bug -- it's a feature.
#3
Mod Emeritus
Thread Starter
Join Date: Feb 1999
Location: Central Vermont
Posts: 3,883
Likes: 0
Received 0 Likes
on
0 Posts
Originally posted by ctyner
Commas are used as a delimiter in vBulletin, which means that specific parsing quirk isn't a bug -- it's a feature.
Commas are used as a delimiter in vBulletin, which means that specific parsing quirk isn't a bug -- it's a feature.
#4
DVD Talk Hero
Jason, when typing in the URL correctly in vB, you don't have to repeat the link inside the code like:
[u<B></b>rl="ht<b></b>tp://www.eonline.com/News/Items/0,1,6462,00.html"]ht<b></b>tp://www.eonline.com/News/Items/0,1,6462,00.html[/u<b></b>rl]
Instead all you have to do is to just add [ur<b></b>l] and a [/u<b></b>rl] at the beginning/end of the URL like:
[u<b></b>rl]ht<b></b>tp://www.eonline.com/News/Items/0,1,6462,00.html[/u<b></b>rl]
Both will give you http://www.eonline.com/News/Items/0,1,6462,00.html.
Yeah, it's still a pain, but easier than repeating the URL.
[Edited by namja on 04-17-01 at 10:47 AM]
[u<B></b>rl="ht<b></b>tp://www.eonline.com/News/Items/0,1,6462,00.html"]ht<b></b>tp://www.eonline.com/News/Items/0,1,6462,00.html[/u<b></b>rl]
Instead all you have to do is to just add [ur<b></b>l] and a [/u<b></b>rl] at the beginning/end of the URL like:
[u<b></b>rl]ht<b></b>tp://www.eonline.com/News/Items/0,1,6462,00.html[/u<b></b>rl]
Both will give you http://www.eonline.com/News/Items/0,1,6462,00.html.
Yeah, it's still a pain, but easier than repeating the URL.
[Edited by namja on 04-17-01 at 10:47 AM]
#5
DVD Talk Reviewer/ Admin
Join Date: Sep 1999
Location: Greenville, South Cackalack
Posts: 28,890
Received 1,900 Likes
on
1,249 Posts
Jason,
You'll be pleased to know that both the comma parsing issue and the lengthy URL problem are corrected in vBulletin 2.x. Just did some testing and it worked fine...
-Adam
You'll be pleased to know that both the comma parsing issue and the lengthy URL problem are corrected in vBulletin 2.x. Just did some testing and it worked fine...
-Adam
#6
Mod Emeritus
Thread Starter
Join Date: Feb 1999
Location: Central Vermont
Posts: 3,883
Likes: 0
Received 0 Likes
on
0 Posts
Originally posted by namja
Jason, when typing in the URL correctly in vB, you don't have to repeat the link inside the code like:
[u<i></i>rl="ht<b></b>tp://www.eonline.com/News/Items/0,1,6462,00.html"]ht<b></b>tp://www.eonline.com/News/Items/0,1,6462,00.html[/u<i></i>rl]
Instead all you have to do is to just add [ur<b></b>l] and a [/u<i></i>rl] at the beginning/end of the URL like:
[u<i></i>rl]ht<i></i>tp://www.eonline.com/News/Items/0,1,6462,00.html[/u<i></i>rl]
Jason, when typing in the URL correctly in vB, you don't have to repeat the link inside the code like:
[u<i></i>rl="ht<b></b>tp://www.eonline.com/News/Items/0,1,6462,00.html"]ht<b></b>tp://www.eonline.com/News/Items/0,1,6462,00.html[/u<i></i>rl]
Instead all you have to do is to just add [ur<b></b>l] and a [/u<i></i>rl] at the beginning/end of the URL like:
[u<i></i>rl]ht<i></i>tp://www.eonline.com/News/Items/0,1,6462,00.html[/u<i></i>rl]
#8
DVD Talk Special Edition
Join Date: Jun 2000
Location: Orlando, FL, USA
Posts: 1,216
Likes: 0
Received 0 Likes
on
0 Posts
Since we are on the subject I just have to ask....
Who in the world came up with the idea to use commas in an URL and transversely, why in the world would anyone make a comma a legitimate character for URL parsing?
As a programmer I only see this as a problem... like quotes in a database.
Who in the world came up with the idea to use commas in an URL and transversely, why in the world would anyone make a comma a legitimate character for URL parsing?
As a programmer I only see this as a problem... like quotes in a database.
#9
DVD Talk Reviewer/ Admin
Join Date: Sep 1999
Location: Greenville, South Cackalack
Posts: 28,890
Received 1,900 Likes
on
1,249 Posts
Same here, Ash.
Regardless, the issue's corrected in vBulletin 2.0.
Regardless, the issue's corrected in vBulletin 2.0.
#10
DVD Talk Platinum Edition
Join Date: Sep 1999
Location: Seattle, Washington, America the Beautiful
Posts: 3,767
Likes: 0
Received 1 Like
on
1 Post
It will be interesting if the other autoURL bug (or is it feature?) has been fixed. When I put an italic designator in front of a URL and the end-italic designator at the end of an automatic URL, the URL will be displayed, but it will not be automatic.
Actually, I've used that as a "feature" before. So, maybe I am not at all hot to change this.
Actually, I've used that as a "feature" before. So, maybe I am not at all hot to change this.
#11
DVD Talk Platinum Edition
Join Date: Sep 1999
Location: Seattle, Washington, America the Beautiful
Posts: 3,767
Likes: 0
Received 1 Like
on
1 Post
<font color=blue>Originally posted by BadAsh:
Who in the world came up with the idea to use commas in an URL and transversely, why in the world would anyone make a comma a legitimate character for URL parsing? As a programmer I only see this as a problem... like quotes in a database.<font color=black>
Some of the database-oriented webpage generators make webpages using the comma as the separator instead of using spaces, dashes, or underscores to build a URL. Perhaps some of these companies had their input to Microsoft when MS was seeking input from various companies during the design of Win95. The Operating System was seeking to be as compatible with everyone as possible. As you know, there are other weird characters allowed in URL and directory names as well....
If you could roll the clock way back, then perhaps you could eliminate the allowed use of comma.
Who in the world came up with the idea to use commas in an URL and transversely, why in the world would anyone make a comma a legitimate character for URL parsing? As a programmer I only see this as a problem... like quotes in a database.<font color=black>
Some of the database-oriented webpage generators make webpages using the comma as the separator instead of using spaces, dashes, or underscores to build a URL. Perhaps some of these companies had their input to Microsoft when MS was seeking input from various companies during the design of Win95. The Operating System was seeking to be as compatible with everyone as possible. As you know, there are other weird characters allowed in URL and directory names as well....
If you could roll the clock way back, then perhaps you could eliminate the allowed use of comma.