Re: [htdig3-dev] About ; and & as CGI param splitter


Subject: Re: [htdig3-dev] About ; and & as CGI param splitter
From: Gilles Detillieux (grdetil@scrc.umanitoba.ca)
Date: Fri Oct 20 2000 - 07:37:39 PDT


According to J. op den Brouw:
> htsearch creates URL's with ; instead of & as CGI paramsplitter
> but I NEED &. I tried line 642 in Display.cc but with no luck (or
> I have done something silly).

See FAQ 5.21!

There are several places in the createURL() method that append semicolons.
In an unpatched 3.1.5 copy, line 642 in Display.cc is but one of them,
and handles only input parameters defined by allow_in_form. The code
there is really pretty easy to follow.

All this begs the question of why you NEED just the ampersand as a
separator. The semicolon is the new standard for use in URLs, as opposed
to CGI, so any properly defined post-processing code really must recognize
and allow both. htsearch is just following the crowd in this regard.

-- 
Gilles R. Detillieux              E-mail: <grdetil@scrc.umanitoba.ca>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

------------------------------------ To unsubscribe from the htdig3-dev mailing list, send a message to htdig3-dev-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Fri Oct 20 2000 - 07:42:59 PDT