1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-23 23:21:00 +01:00

Fixed file save regression in privacy plugin (#7673)

This commit is contained in:
Nejc Habjan 2024-11-05 19:17:10 +01:00 committed by GitHub
parent ac3315fd3e
commit eb63b608e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -467,7 +467,7 @@ class PrivacyPlugin(BasePlugin[PrivacyConfig]):
# 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))