diff --git a/lib/core/settings.py b/lib/core/settings.py index 078665262..460ffe03e 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -230,9 +230,6 @@ META_REFRESH_REGEX = r']+content="?[^">]+url=(?P< # Regular expression used for parsing empty fields in tested form data EMPTY_FORM_FIELDS_REGEX = r'(?P[^=]+=(&|\Z))' -# Regular expression for soap message recognition -SOAP_RECOGNITION_REGEX = r"\A(<\?xml[^>]+>)?\s*<([^> ]+)( [^>]+)?>.+__VIEWSTATE[^"]*)[^>]+value="(?P[^"]+)' # Number of rows to generate inside the full union test for limited output (mustn't be too large to prevent payload length problems) LIMITED_ROWS_TEST_NUMBER = 15 +# Regular expression for soap message recognition +SOAP_RECOGNITION_REGEX = r"(?s)\A(<\?xml[^>]+>)?\s*<([^> ]+)( [^>]+)?>.+