Hello,

I'm looking to get some advise in what charters are safe to be used into a url.
Into http://www.ietf.org/rfc/rfc1808.txt are described a few groups (safe, extra, national etc)
are there any other charters that should be stripped out when a sanitizer code run ?

The idea is that a request comes in gets sanitized and then can be worked with it in different places
including databases.

thanks

Theres a pretty good function out there, you can query 'seo urls' in google. As far as sanitation goes there is HTMLawed and HTMLPURIFIER.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.