mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-30 18:24:35 +01:00
Fixed file save regression in privacy plugin (#7673)
This commit is contained in:
parent
ac3315fd3e
commit
eb63b608e2
@ -467,7 +467,7 @@ class PrivacyPlugin(BasePlugin[PrivacyConfig]):
|
|||||||
|
|
||||||
# Replace callback
|
# Replace callback
|
||||||
def replace(match: Match):
|
def replace(match: Match):
|
||||||
value = match.group(1)
|
value = match.group("url")
|
||||||
|
|
||||||
# Map URL to canonical path
|
# Map URL to canonical path
|
||||||
path = self._path_from_url(urlparse(value))
|
path = self._path_from_url(urlparse(value))
|
||||||
|
Loading…
Reference in New Issue
Block a user