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
Solved

Which characters are legial in URLs?

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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
How to dynamically load/unload User control in ASP.net page? 2 202
Tech Writing Terminology - Pane or Panel? 8 101
Select distinct 25 116
Fulfillment API php code sample 1 58
There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
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…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

828 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