Avatar of Wayne Barron
Wayne Barron
Flag for United States of America asked on

apostrophe in a URL name.(Trying not to encode it)

Hello, All.

I am trying my best to NOT have to encode the apostrophe in a URL name to this: Nothin%27_to_Lose.
I have tried to replace the apostrophe with a * or a Period, and when I do a Request.QueryString("Title") on this
Nothin*_to_Lose
It is replaced with
Nothin

What am I missing here?
Does the Request.QueryString() not work with these types of characters?

Wayne
ASPVisual Basic Classic

Avatar of undefined
Last Comment
Wayne Barron

8/22/2022 - Mon
Wayne Barron

ASKER

Looking at a Wikipedia article.


Letters (AZ and az), numbers (09) and the characters '*','-','.' and '_' are left as-is

The octet corresponding to the tilde ("~") is permitted in query strings by RFC3986 but required to be percent-encoded in HTML forms to "%7E"


OK, with that. I SHOULD be able to use.
* asterisk
. Period

However, when I try, it cuts off everything from that character to the end.

I can use the _ and - without an issue.


I also checked the log files and there is nothing showing that would indicate it was not working.
It just will not work in a query.

Wayne Barron

ASKER

ASP Classic website.

ASKER CERTIFIED SOLUTION
Wayne Barron

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Your help has saved me hundreds of hours of internet surfing.
fblack61