HomeSoftware Heritage

django: Ensure defined URLs have trailing slash

Description

django: Ensure defined URLs have trailing slash

URLs targeting a django view must have a trailing slash as
django builtin feature APPEND_SLASH is activated by default.

If an URL definition does not have a trailing slash, this
will result in a 404 error as django will automatically add
a trailing slash if a user forgot to add it and thus the URL
resolving will fail.

Details

Provenance
anlambertAuthored on Mar 18 2022, 2:49 PM
anlambertPushed on Mar 18 2022, 5:07 PM
Differential Revision
D7390: django: Ensure defined URLs have trailing slash
Parents
rDWAPPS683b349b01a1: Activate save code now feature for development related tools
Branches
Unknown
Tags
Unknown
References
tag: v0.0.377
Build Status
Buildable 27619
Build 43227: test-and-buildJenkins console · Jenkins