From 759465bde5847d1020101e07dfa34572667cbdcc Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 6 Jan 2012 00:06:38 +0000 Subject: [PATCH] minor fix --- lib/core/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 8f665f1a6..67d950af6 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -275,7 +275,7 @@ UNICODE_ENCODING = "utf8" URI_HTTP_HEADER = "URI" # Uri format which could be injectable (e.g. www.site.com/id82) -URI_INJECTABLE_REGEX = r".*/([^\.*?]+)\Z" +URI_INJECTABLE_REGEX = r"//[^/]*/([^\.*?]+)\Z" # Regex used for masking sensitive data SENSITIVE_DATA_REGEX = "(\s|=)(?P[^\s=]*%s[^\s]*)\s"