Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Plus sign

Guest
Jul 28, 2009 Jul 28, 2009

I am having difficulties with the "+" (plus sign) in my URL variables. These are page titles that can sometimes contain various characters. I do have the URLENCODED in there...

<a href="page.cfm?page=#URLEncodedFormat(rstitle.pagetitle)#">.....

and using the.... value="#URLDecode(URL.page)#" on the recieving pages querry...

How can I get around the issue of the user using a plus sign in ther page title?

I am guessing its pretty easy...but I havent been able to find anything on it yet

Thanks

741
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 28, 2009 Jul 28, 2009

You could always use Replace("+","","all") to remove the plus sign.  Or replace it with the ASCII equivalent.

^_^

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 28, 2009 Jul 28, 2009
LATEST

I discovered the issue... it was the use of the URLdecode that was causing the error. Once that was removed it worked perfectly.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources