You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Herbert Kloseck <ww...@ls7.cs.uni-dortmund.de> on 2000/02/10 10:46:57 UTC

general/5732: Incorrect handling of index in URL

>Number:         5732
>Category:       general
>Synopsis:       Incorrect handling of index in URL
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Feb 10 01:50:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     wwwadmin@ls7.cs.uni-dortmund.de
>Release:        1.3.11
>Organization:
apache
>Environment:
SunOS hermite 5.6 Generic_105181-17 sun4m sparc SUNW,SPARCstation-5
gcc version 2.7.2.3.f.1
>Description:
After processing a URL containing "/index" as the first component, it is
possible to extend the path in any arbitrary way (i.e. "/index/balabala/yumyum").
Every time the server reports an "OK (200)" (which everytime is the top-level
index-file), which may mislead search-engines
like "htdig" to extend the path until the path gets too long to fit into the
variable-space (which can also cause a crash of the indexing search-engine).
>How-To-Repeat:
Correct URL's:
http://ls7-www.cs.uni-dortmund.de/index

Incorrect URL's reported as OK [200]:
http://ls7-www.cs.uni-dortmund.de/index/foo/
http://ls7-www.cs.uni-dortmund.de/index/start/index/start

Correct URL:
http://www.apache.org/index

Incorrect URL but reported as OK:
http://www.apache.org/index/foo/
>Fix:
I am afraid, no!
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@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!     ]