Solved

Which characters are legial in URLs?

Posted on 2007-03-19
2
156 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
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn how to count occurrences of each item in an array.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now