From fbdd9a301b33b21c8d597a01bd3732868df19880 Mon Sep 17 00:00:00 2001 From: bashrc Date: Tue, 13 Jan 2026 10:13:40 +0000 Subject: [PATCH] More generic wordpress path --- utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 014f8ba38..7a5499074 100644 --- a/utils.py +++ b/utils.py @@ -3975,7 +3975,7 @@ def check_bad_path(path: str): path_lower.startswith('/users/.well-known/'): bad_strings = ('..', '%2e%2e', '%252e%252e') - if path_lower.startswith('/wp-content'): + if path_lower.startswith('/wp-'): print('WARN: this is not wordpress ' + path) return True