You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/05/10 10:21:52 UTC

DO NOT REPLY [Bug 34834] New: - Function ap_getword_conf() doesn't accept a trailing backslash in an input string

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34834>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34834

           Summary: Function ap_getword_conf() doesn't accept a trailing
                    backslash in an input string
           Product: Apache httpd-2.0
           Version: 2.0.54
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: viipuri@dlc.fi


The problem is that it is not possible to enter a string ending with a
backslash+quoation mark as an input to function server/util.c:ap_getword_conf()
(which is used to parse lines in httpd.conf). For example:

string ""c:\\temp\\"" SHOULD be parsed as "c:\\temp\\" but CURRENTLY it is
parsed as "c:\\temp\\""

The example shows that the function interprets the last quotation mark as forced
(instead of as the end of the string) because of the preceding backslash. I
think this behaviour would be OK if there were only one backslash at the end of
the string but in the case of two backslashes the last quotation mark should NOT
be forced to remain in the function result string.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org