Minor refactoring

This commit is contained in:
Miroslav Stampar
2012-10-29 14:08:48 +01:00
parent d6e16e8641
commit 81ccf28785
2 changed files with 34 additions and 30 deletions

View File

@@ -491,3 +491,6 @@ DEFAULT_CONTENT_TYPE = "application/x-www-form-urlencoded"
# Length used while checking for existence of Suhoshin-patch (like) protection mechanism
SUHOSHIN_MAX_VALUE_LENGTH = 512
# Regular expression used for extracting form tags
FORM_SEARCH_REGEX = r"(?si)<form(?!.+<form).+?</form>"