According to Geoff Hutchison:
> On Mon, 26 Apr 1999, Daniel Marek Gradzikiewicz wrote:
> > I found that if I use the restrict tag, it fails to work with netscape. No
> > matter what syntax...
> >
> > <input type=hidden name=restrict>
> >
> > once this was in the html code, Netscape would not FIND anything... while with
> > IE I would get some 1500 hits...
>
> Wait a second. You don't have anything in that restrict tag. Try something
> like:
>
> <input type=hidden name=restrict value="">
>
> I'd be interested to see the responses Netscape and MSIE sent. I would
> guess MSIE figured out the incorrect HTML and set value to empty. I have
> no idea what Netscape sent, perhaps garbage which could easily never match
> a URL of a result.
I just tried the incorrect input line above in a search form that uses the
get method, and sure enough, in the URI it sent to htsearch was the string
"restrict=++", which is taken as two spaces. Why it does this, I don't
know, but it does help weed out bad HTML, doesn't it? ;-)
Lynx seems to default to an empty string, as MSIE does.
--
Gilles R. Detillieux E-mail: <[EMAIL PROTECTED]>
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 htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.