Nik,

I've checked this in.

Glenn

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:dqsd-devel-admin@;lists.sourceforge.net]On Behalf Of Nikolai
> Devereaux
> Sent: Tuesday, October 29, 2002 2:11 PM
> To: Dqsd-Devel@Lists. Sourceforge. Net
> Subject: [DQSD-Devel] quick patch to PHP search
> 
> 
> 
> I'd like to change
>   openSearchWindow("http://www.php.net/"; + q);
> 
> to
>   openSearchWindow("http://www.php.net/"; + q.replace(/\s+/g, "+"));
> 
> 
> Since the PHP search is essentially a URL, spaces get converted 
> to %20 instead
> of +.  However, the PHP search script treats the arguments as GET 
> params, so
> the %20 is treated literally.
> 
> 
> I tried to commit the minor change myself, but CVS was hanging 
> and giving me
> grief.
> 
> 
> Take care,
> 
> nik



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel

Reply via email to