diff --git a/lib/core/option.py b/lib/core/option.py index 266150eb4..c9cc3e516 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -280,7 +280,7 @@ def _feedTargetsDict(reqFile, addedTargetUrls): method = match.group(1) url = match.group(2) - if "?" in line and "=" in line: + if any(_ in line for _ in ('?', '=', CUSTOM_INJECTION_MARK_CHAR)): params = True getPostReq = True