Koozali.org: home of the SME Server

Apache $QUERY_STRING variable garbled reading with Bash

Mika Löf

Apache $QUERY_STRING variable garbled reading with Bash
« on: November 08, 2003, 12:18:20 AM »
Hi!
I wrote a bash (2.05a.0) script to process httpd environment variables but somehow $QUERY_STRING gets garbled from plain to url encoding, e.g.:
http://www.linux.org/  ->  http%3A%2F%2Fwww.linux.org%2F
I've not had ever this problem with RedHat Linux' that's why I ask this here. Sorry if this is out of forum.
Running 5.6U5 with a few contribs.
PS. Am I silly writing bash, is it secure in httpd environment?

Mika

Michiel

Re: Apache $QUERY_STRING variable garbled reading with Bash
« Reply #1 on: November 08, 2003, 12:47:27 AM »
You might wish to subscribe to the DevInfo mailing list (http://www.e-smith.org/content/developers/) and post your question there. You stand a better chance to get a knowledgeable answer there.