Solved

Which characters are legial in URLs?

Posted on 2007-03-19
2
165 Views
Last Modified: 2010-04-06
Experts, please

In addition to alpha, UC and LC, and numeric characters and these
":/.-?=&%"
What other characters are legal in URLs?

I need to know to write a proceedure to screen out the illegals.

Thank you
0
Comment
Question by:Gordon_Atherley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
ethan_mmg earned 500 total points
ID: 18755909
The legal characters are: numerics, alpha (upper and lower), and $-_.+!*'(),

The following are special characters (i.e. have special meaning to URLs):
$
&
+
,
/
:
;
=
?
@

The % is used for URL encoding.
0
 

Author Comment

by:Gordon_Atherley
ID: 18755930
Thank you--just what I needed

Gordon
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP email variable syntax 3 53
Does a Google search find images with the word being searched? 11 107
Create and populate iFrame onClick of a button? 1 113
Where do I learn ES6? 3 84
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question