On Tue, Sep 05, 2000 at 03:59:41PM -0500, Robert Canary wrote:
| I have a situation here where I do not have access to a Internet
| Installer code.  The problem is if the user types a # symbol in the data
| collection (e.g. Apt #12) then Apache truncates everything after the #
| symbol, resulting in an incomplete list of data needed to process the
| query.
| 
| As I mentioned I do not have access to the source code of the
| application that collects the info so filtering the # symbol out as it
| is sent is not an option.
| 
| Any ideas how to handle this?

You may be screwed. The collector is bust.

I'm having some trouble envisaging your app. The short answer is that in an URL
the ? and # are effectively punctuation, and a query like

        http://blah/blah/thing.cgi?foo#bah

says "ask about foo and place the browser at location bah in the result
document". Apache isn't stripping your hash (I think - given your
description), the browser only asks for

        http://blah/blah/thing.cgi?foo

and handles the #bah at display time. Apache never sees the #.

If someone has typed a # into a web form then it's _supposed_ to be hex
encoded:

        http://blah/blah/thing.cgi?foo%23bah

So this _really_ wasn't fixing at the client end. Any more info?
-- 
Cameron Simpson, DoD#743        [EMAIL PROTECTED]    http://www.zip.com.au/~cs/

Everything that can be invented has been invented.
        - Charles H. Duell, Commissioner, U.S. Office of Patents, 1899.



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to