Page MenuHomePhabricator

Trailing slashes
Closed, DeclinedPublic

Description

Author: phroziac

Description:
Trailing slashes should be stripped before checking the database to see if the
page exists. It's a fairly common screwup to put a trailing slash on the end of
a URL, and it's all Apache's fault for being so anal about them!


Version: unspecified
Severity: enhancement
Platform: PC

Details

Reference
bz3368

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 8:49 PM
bzimport set Reference to bz3368.
bzimport added a subscriber: Unknown Object (MLST).

gangleri wrote:

At the moment we have the following

  • one trailing slash : generates another page
  • - see examples from bug 2343: navigation to parent pages of a subpage
  • two trailing slashes and more trailing slashes : probably depending on the server
  • - see bug 2088: Consecutive /s merged in PATH_INFO URLs on Apache 2

[[en:User:Gangleri/sandbox/#bugzilla:03368_Trailing_slashes]]

herd wrote:

*** Bug 20482 has been marked as a duplicate of this bug. ***

herd wrote:

*** Bug 10947 has been marked as a duplicate of this bug. ***

herd wrote:

*** Bug 11747 has been marked as a duplicate of this bug. ***

herd wrote:

Not sure if bug 12703 is a dupe, if so, this bug should probably be duped to it (as that one has much more activity).