Go Back   English Forum Switzerland > Support > Support > Forum support
Reply
 
Thread Tools Display Modes
  #1  
Old 21.06.2009, 02:01
RetiredInNH's Avatar
Forum Veteran
 
Join Date: Apr 2007
Location: New Hampshire, USA
Posts: 2,220
Groaned at 13 Times in 5 Posts
Thanked 1,427 Times in 722 Posts
Blog Entries: 13
RetiredInNH has a reputation beyond reputeRetiredInNH has a reputation beyond reputeRetiredInNH has a reputation beyond reputeRetiredInNH has a reputation beyond reputeRetiredInNH has a reputation beyond repute
Escaping square brackets in URLs?

I recently posted a link to:

[url=http://www.youthhostel.ch/hosteldetails.html?&L=1&user_hostels_pi1[bez]=BAD&cHash=9e82d7c97a]Youth Hostel Basel[/url]

which, due to the square brackets embedded in the URL (..[bez]..), turned out:

=BAD&cHash=9e82d7c97a]Youth Hostel Basel

Clicking on the link got to the target, but very inelegantly. Is there a vBulletin way of escaping square brackets?
Reply With Quote
  #2  
Old 21.06.2009, 02:21
jrspet's Avatar
Forum Legend
 
Join Date: Jul 2007
Location: Quaint Wädenswil, Zürich, CH
Posts: 8,151
Groaned at 29 Times in 22 Posts
Thanked 7,036 Times in 3,912 Posts
jrspet has a reputation beyond reputejrspet has a reputation beyond reputejrspet has a reputation beyond reputejrspet has a reputation beyond reputejrspet has a reputation beyond reputejrspet has a reputation beyond repute
Re: Escaping square brackets in URLs?

I fixed the link in your post ( youth hostel link )
Reply With Quote
This user would like to thank jrspet for this useful post:
  #3  
Old 21.06.2009, 02:34
RetiredInNH's Avatar
Forum Veteran
 
Join Date: Apr 2007
Location: New Hampshire, USA
Posts: 2,220
Groaned at 13 Times in 5 Posts
Thanked 1,427 Times in 722 Posts
Blog Entries: 13
RetiredInNH has a reputation beyond reputeRetiredInNH has a reputation beyond reputeRetiredInNH has a reputation beyond reputeRetiredInNH has a reputation beyond reputeRetiredInNH has a reputation beyond repute
Re: Escaping square brackets in URLs?

Thanks!

I should have thought of it. I know that spaces are encoded %20 in URLs, and should have guessed that other characters have special encodings. led me to URL Encoding -- (or: 'What are those "%20" codes in URLs?').
Reply With Quote
  #4  
Old 21.06.2009, 04:07
JVC
Guest
 
Posts: n/a
Re: Escaping square brackets in URLs?

You can see from jrspet's reply that the trick is to enclose the URL in quotes:

e.g [url="htpp://url-with-[square-brackets]-mumble"]title[/url]
Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fair & Square, Klein-Basel J-Swiss Entertainment & dining 3 22.02.2012 00:21
Problems with at-signs in URLs gregv Forum support 4 16.03.2008 14:47
Swiss Centre to be demolished in Leicester Square, London tigerli Swiss politics/news 17 16.11.2007 01:13
Red Square Lob General off-topic 6 10.03.2006 15:49


All times are GMT +2. The time now is 19:50.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0