Skip to main content
July 28, 2009
Question

Plus sign

  • July 28, 2009
  • 2 replies
  • 767 views

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

    This topic has been closed for replies.

    2 replies

    July 28, 2009

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

    WolfShade
    Legend
    July 28, 2009

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

    ^_^