From eb63b608e2aabd4dc635eb360607b627f6394b51 Mon Sep 17 00:00:00 2001 From: Nejc Habjan Date: Tue, 5 Nov 2024 19:17:10 +0100 Subject: [PATCH] Fixed file save regression in privacy plugin (#7673) --- src/plugins/privacy/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))