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.
Migrated from D7390 (view on Phabricator)
Merge request reports
Activity
Build is green
Patch application report for D7390 (id=26693)
Rebasing onto 7bfbda85...
Current branch diff-target is up to date.
Changes applied before test
commit c8fbad6d2b5a5166c7faef361a6635bb12751bb0 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Fri Mar 18 14:49:18 2022 +0100 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.
See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1499/ for more details.
Build was aborted
Patch application report for D7390 (id=26713)
Rebasing onto 8e119381...
Current branch diff-target is up to date.
Changes applied before test
commit 10123c72791321525338bde80f648d8a8404360d Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Fri Mar 18 14:49:18 2022 +0100 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.
Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1504/ See console output for more information: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1504/console
Build is green
Patch application report for D7390 (id=26713)
Rebasing onto f9376329...
First, rewinding head to replay your work on top of it... Applying: django: Ensure defined URLs have trailing slash
Changes applied before test
commit a7eff3a193ab319e468f27d4a7a135051d4f34af Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Fri Mar 18 14:49:18 2022 +0100 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.
See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1509/ for more details.
Build has FAILED
Patch application report for D7390 (id=26721)
Rebasing onto f9376329...
Current branch diff-target is up to date.
Changes applied before test
commit 2d4078f3de3c95dbeec47b3019fb107dabd96480 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Fri Mar 18 14:49:18 2022 +0100 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.
Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1511/ See console output for more information: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1511/console
Build is green
Patch application report for D7390 (id=26723)
Rebasing onto 683b349b...
Current branch diff-target is up to date.
Changes applied before test
commit dfccbcf9bde17caa3dc215f25d81b86d4b94e2ed Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Fri Mar 18 14:49:18 2022 +0100 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.
See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1512/ for more details.