minor fix

This commit is contained in:
Miroslav Stampar 2012-01-06 00:06:38 +00:00
parent 40398f358c
commit 759465bde5

View File

@ -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<result>[^\s=]*%s[^\s]*)\s"