[En-Nut-Discussion] Feature Request #1667498 QUERY_STRING in SSI
Marti Raudsepp
marti at voicecom.ee
Tue May 22 11:56:42 CEST 2007
Harald Kipp wrote:
> My knowledge of all this HTTP stuff is quite limited. Can someone with
> more experience please check, if
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=1667498&group_id=34079
>
> makes sense?
The idea very much makes sense, but the implementation is a hack -- it
makes it impossible to pass a query string literally saying
"QUERY_STRING", or call a CGI script with that string anywhere in its
name, and is incompatible with real SSI.
Apache's SSI allows one to reference variables with the '$' prefix, but
I am not sure if it works with CGI arguments. I would expect it to, though.
Full variable handling might be an overkill, so if at all, perhaps it
should contain a special case checking for "$QUERY_STRING" in the end of
the CGI argument, and correctly handling the \$ escape.
Regards,
Marti
More information about the En-Nut-Discussion
mailing list