diff --git a/dojo/settings/settings.dist.py b/dojo/settings/settings.dist.py
index ee0a9817f57..4a62878024a 100644
--- a/dojo/settings/settings.dist.py
+++ b/dojo/settings/settings.dist.py
@@ -41,6 +41,7 @@
     DD_SECURE_CONTENT_TYPE_NOSNIFF=(bool, True),
     DD_CSRF_COOKIE_SAMESITE=(str, 'Lax'),
     DD_SESSION_COOKIE_SAMESITE=(str, 'Lax'),
+    DD_APPEND_SLASH=(bool, True),
     DD_TIME_ZONE=(str, 'UTC'),
     DD_LANG=(str, 'en-us'),
     DD_TEAM_NAME=(str, 'Security Team'),
@@ -673,6 +674,9 @@ def generate_url(scheme, double_slashes, user, password, host, port, path, param
 SESSION_COOKIE_SECURE = env('DD_SESSION_COOKIE_SECURE')
 SESSION_COOKIE_SAMESITE = env('DD_SESSION_COOKIE_SAMESITE')
 
+# Override default Django behavior for incorrect URLs
+APPEND_SLASH = env('DD_APPEND_SLASH')
+
 # Whether to use a secure cookie for the CSRF cookie.
 CSRF_COOKIE_SECURE = env('DD_CSRF_COOKIE_SECURE')
 CSRF_COOKIE_SAMESITE = env('DD_CSRF_COOKIE_SAMESITE')