From 40a355a42d4a9444dc753c04c6608dade2f06a23 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:27 +0200 Subject: Adding upstream version 125.0.1. Signed-off-by: Daniel Baumann --- testing/mozbase/mozhttpd/tests/filelisting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testing/mozbase/mozhttpd/tests') diff --git a/testing/mozbase/mozhttpd/tests/filelisting.py b/testing/mozbase/mozhttpd/tests/filelisting.py index 195059a261..bdfdcf979a 100644 --- a/testing/mozbase/mozhttpd/tests/filelisting.py +++ b/testing/mozbase/mozhttpd/tests/filelisting.py @@ -45,7 +45,7 @@ def test_filelist(httpd, docroot, path): filelist = os.listdir(docroot) - pattern = "\<[a-zA-Z0-9\-\_\.\=\"'\/\\\%\!\@\#\$\^\&\*\(\) :;]*\>" + pattern = r"""\<[a-zA-Z0-9\-\_\.\="'\/\\%\!\@\#\$\^\&\*\(\) :;]*\>""" for line in f.readlines(): subbed_lined = re.sub(pattern, "", ensure_str(line).strip("\n")) -- cgit v1.2.3