0
Invalid Characters in URL
New Here
,
/t5/coldfusion-discussions/invalid-characters-in-url/td-p/1000922
Jul 25, 2006
Jul 25, 2006
Copy link to clipboard
Copied
I'm trying to pass query variables in a URL. Within the code,
the link is (CFM page)?Category=#rsCatSum.category1#
The actual URL comes out as (CFM page)?Category=Skin%20Creams%20&%20Lotions%20. The category should show "Skin Creams & Lotions". However, with the extra %20 characters, the category is not found and the result is a blank page.
Does anyone know what is causing the extra "%20" characters to be added to the URL?
I appreciate your help!!
The actual URL comes out as (CFM page)?Category=Skin%20Creams%20&%20Lotions%20. The category should show "Skin Creams & Lotions". However, with the extra %20 characters, the category is not found and the result is a blank page.
Does anyone know what is causing the extra "%20" characters to be added to the URL?
I appreciate your help!!
TOPICS
Getting started
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Enthusiast
,
LATEST
/t5/coldfusion-discussions/invalid-characters-in-url/m-p/1000923#M91000
Jul 25, 2006
Jul 25, 2006
Copy link to clipboard
Copied
Spaces and some special characters (such as the ampersand
"&") are not allowed in URLs. Thus, they should always be
"encoded". You can probably use UrlDecode() to convert the URL
string back to what you're expecting.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more

