Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Passing a URL with spaces in it.

Quote Reply
Passing a URL with spaces in it.
Hi:

I am just not experienced enough to know how to deal with this (or if it is even possible!)

I want to pass a URL in an e-mail, and it has spaces in it. I was just passing the ID, which had no spaces, but "11" would also match "110" and "111" and on and on- so I thought I would and an "AND Title=<%Title%>

Well, if the Title is Snow White and the Seven Dwarfs, this URL:

http://path.to/db.cgi?db=Links&do=modify_search_results&ID=2729&Title-opt=LIKE&Title=Snow White and the Seven Dwarfs

will come across as:

http://path.to/db.cgi?db=Links&do=modify_search_results&ID=2729&Title-opt=LIKE&Title=Snow

(I added the '&Title-opt=LIKE' when I noticed this...)

For the most part, this is good enough, but I just think it is not right. I know that when passed in a browser, the spaces turn into '\%20' (without the '\'- had to do that to make it visible!). Is there an EASY way to do this in my report an error Mail, or should I just live with it?

thanks!

dave

Subject Author Views Date
Thread Passing a URL with spaces in it. carfac 3823 Apr 9, 2001, 9:55 AM
Post Re: Passing a URL with spaces in it.
Stealth 3720 Apr 9, 2001, 10:15 AM
Thread Re: Passing a URL with spaces in it.
pugdog 3750 Apr 9, 2001, 1:23 PM
Thread Re: Passing a URL with spaces in it.
carfac 3710 Apr 9, 2001, 2:42 PM
Thread Re: Passing a URL with spaces in it.
carfac 3708 Apr 9, 2001, 2:46 PM
Thread Re: Passing a URL with spaces in it.
Stealth 3728 Apr 9, 2001, 3:07 PM
Thread Re: Passing a URL with spaces in it.
carfac 3735 Apr 9, 2001, 8:08 PM
Post Re: Passing a URL with spaces in it.
Stealth 3692 Apr 9, 2001, 9:14 PM
Thread Re: Passing a URL with spaces in it.
Alex 3711 Apr 11, 2001, 11:50 AM
Post Re: Passing a URL with spaces in it.
carfac 3690 Apr 11, 2001, 10:48 PM