Re: LANG: map POINT
Chris Marrin ([email protected])
Tue, 17 Oct 1995 09:52:13 -0700
- Messages sorted by:
[ date ][ tmesad ][ subject ][ author ]
- Next message:
Gavin Bell: "Re: Need clarification"
- Previous message:
Alex Okita/UB Networks: "Viewer?"
On Oct 14, 10:02pm, Adrian Scott wrote:
> Subject: LANG: map POINT
>
> little question on implementing the map POINT field value in the
WWWAnchor
> node,
>
> I was looking at a browser that implements this the other day and it
> looks like they're URL-encoding the commas (changing them to hexadecimal
> with %c and all that).
>
> It seems that HTML browsers doing imagemaps do not URL-encode the
commas. I
> don't think the
> VRML browsers will want to urlencode. the http server does not
url-decode
> this, so it'd have to be done in the cgi script. the encoding is
> unnecessary, as far as I know. If we do decide that the encoding is
> necessary we should put this in the spec.
>
> ...
Finally, someone has stumbled over this landmine. I encode the comma
because sending it to Netscape raw causes it to get parsed by Netscape
rather than getting passed unchanged to the server. This is a legal http
technique. The odd thing about it is that, on the server end the cgi-bin
script sees it in the encironment variable encoded (with the % sign) but
it gets decoded and parsed properly into the argv argument. This means
all is well if your script uses argv but you'll need extra processing if
you use the environment variable.
Just something to look out for...
--
chris marrin Silicon http://www.sgi.com/Products/WebFORCE/WebSpace
(415) 390-5367 Graphics http://reality.sgi.com/employees/cmarrin_engr/
[email protected] Inc.
"It is well to remember that the entire universe,
with one trifling exception, is composed of others." - John Andrew Holmes
- Next message:
Gavin Bell: "Re: Need clarification"
- Previous message:
Alex Okita/UB Networks: "Viewer?"