diff --git a/src/plugins/privacy/plugin.py b/src/plugins/privacy/plugin.py index c760d9b6f17..a180c57a2b5 100644 --- a/src/plugins/privacy/plugin.py +++ b/src/plugins/privacy/plugin.py @@ -467,7 +467,7 @@ def _patch(self, initiator: File): # Replace callback def replace(match: Match): - value = match.group(1) + value = match.group("url") # Map URL to canonical path path = self._path_from_url(urlparse(value))