>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 >Last-Modified: >Originator: [EMAIL PROTECTED] >Organization: apache >Release: Apache 1.3.9 JServ 1.1b1 >Environment: Linux 2.2.12 (IBM JDK 1.1.8) >Description:
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. >How-To-Repeat: Status page for Cocoon will break. >Fix: Only add em to the hashtable, if they are set. >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, you need] [to include <[EMAIL PROTECTED]> 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! ]