Reply
Invalid url characters
Old 04-12-2007, 12:25 PM Invalid url characters
numbenator's Avatar
Ultra Talker

Posts: 411
Location: London
Hi
Could someone tell me the invalid characters that CAN NOT be used in a url?

I wish to use these characters for other reasons.

cheers
__________________
www.mastech-solutions.com
numbenator is offline
Reply With Quote
View Public Profile Visit numbenator's homepage!
 
When You Register, These Ads Go Away!
     
Old 04-12-2007, 01:53 PM Re: Invalid url characters
tripy's Avatar
Fetchez la vache!

Posts: 1,849
Name: Thierry
Location: In the void
They can all be used.
But some need to be translated in another form first.

look here for a list of those codes:
http://www.w3schools.com/tags/ref_urlencode.asp

for example, a space would be replaced with %20.
Like
http://www.host.com/my example.html
=>
http://www.host.com/my%20example.html
__________________
Listen to the ducky: "This is awesome!!!"

tripy is offline
Reply With Quote
View Public Profile
 
Old 04-14-2007, 05:37 AM Re: Invalid url characters
chrishirst's Avatar
Super Moderator

Posts: 11,767
Location: Blackpool. UK
it depends where in the URL and why

filenames or pseudo filenames (URL rewriting) cannot contain any of these " \ / : * ? " < > | "

and some characters have special meanings to servers/browsers so should be avoided outside of filenames " \ / ? & # : "
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Invalid url characters
 

Thread Tools

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

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




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11843 seconds with 13 queries