Minor update for an Issue #2

This commit is contained in:
Miroslav Stampar
2012-09-06 14:13:54 +02:00
parent 1e238b5a5a
commit c3d191e626
2 changed files with 10 additions and 6 deletions

View File

@@ -455,3 +455,6 @@ MAX_HELP_OPTION_LENGTH = 18
# Strings for detecting formatting errors
FORMAT_EXCEPTION_STRINGS = ("Type mismatch", "Error converting", "Failed to convert", "System.FormatException", "java.lang.NumberFormatException")
# Regular expression used for extracting ASP.NET View State values
VIEWSTATE_REGEX = r'(?P<name>__VIEWSTATE[^"]*)[^>]+value="(?P<name>[^"]+)'