www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars Pedersen ...@arosii.com>
Subject mod_jserv/5098: CGI variable getXXX methods never return null
Date Mon, 04 Oct 1999 16:06:14 GMT

>Number:         5098
>Category:       mod_jserv
>Synopsis:       CGI variable getXXX methods never return null
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Oct  4 09:10:02 PDT 1999
>Originator:     lp@arosii.com
>Release:        Apache 1.3.9 JServ 1.1b1
Linux 2.2.12 (IBM JDK 1.1.8)

In JServConnection.java all CGI variables are put into the env_vars
hashtable, ex:

env_vars.put("PATH_INFO", in.readString(""));

And since in.readString() never return null, getPathInfo() will never
return null.

Status page for Cocoon will break.

Only add em to the hashtable, if they are set.
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]

View raw message