URL-decoding on Apache 1.1.1

URL-decoding on Apache 1.1.1

Post by Milos Cekovi » Fri, 29 Nov 1996 04:00:00



Hi,

In one of my HTML-pages I got following tag:

<FORM ACTION=3D"/cgi-bin/owi/A/R0=3D%2Fdict%2F&QS=3DUBSDict" METHOD=3D"PO=
ST">

  ( %2F means / )

"owi" is a script that gets "A/R0=3D%2Fdict%2F&QS=3DUBSDict".

The CERN 3.0 server passes owi the same string, that is: =

A/R0=3D%2Fdict%2F&QS=3DUBSDict.

But Apache 1.1.1 decodes the URL in /cgi-bin/owi/A/R0=3D/dict/&QS=3DUBSDi=
ct
and tryes to find this document. I got "File not found"-message.

Can I switch off this decoding of %XX ?

Thanks in advance,

Milos

-- =

Milos Cekovic                   S  =

Union Bank of Switzerland     U B S

CH-8021 Z=FCrich                                tel: ++41 1 236 84 16

 
 
 

1. URL decoding: decode user-supplied info

A cgi program is called as URL like this:
http://<host>/<path>/<cgi-prg>?<user-supplied-info>

The <user-supplied-info> is encoded by the web browser, e.g. a slash is
encoded as %2F.
How do I decode the user supplied info?
Has the cgi-prg to do the work? (in my case it's an exe - I don't have
the code)
Or can I tell the web server (apache 1.3.6) to decode it?

Thanks
Matthias Schulte

2. After 4.3.2->4.3.3 Upgrade, mail relaying off host is slowed down

3. Apache mod_rewrite question, url rewrite, url forward

4. Printing problem in Sol 8 (scheduler works, no queue moves)

5. Decoding URL formatted data fields

6. Informix y2k compliance on Solaris x86

7. (patch for Bash) '%NN' URL hexcode decoding for 'echo'

8. Can SMP execute different kernel codes *simultaneous and separately*?

9. Quick question: URL decoding

10. Multipart/form-data decoding in Apache C modules~~~

11. Apache vs. Cern decoding ps.gz files

12. Netscape Commerce Server (Redirecting URLs and URL Aliases)

13. Redirecting Virtual Host URL to real URL - HOW?