Don't use quote_js on filename

This commit is contained in:
missionfloyd 2024-03-19 19:06:56 -06:00 committed by GitHub
parent 6e420c7be2
commit b5c33341a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -239,7 +239,7 @@ class ExtraNetworksPage:
)
onclick = html.escape(onclick)
btn_copy_path = self.btn_copy_path_tpl.format(**{"filename": quote_js(item["filename"])})
btn_copy_path = self.btn_copy_path_tpl.format(**{"filename": item["filename"]})
btn_metadata = ""
metadata = item.get("metadata")
if metadata: