This commit is contained in:
KNNN 2026-08-01 21:06:36 +12:00 committed by GitHub
commit a3acdf8328
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -443,7 +443,7 @@ module.exports.encodeUriPath = (path) => {
const uri = new URL('/', 'file://')
// we assign the path here to assure that URL control characters like # are
// actually interpreted as part of the URL path
uri.pathname = path
uri.pathname = path.replaceAll('%', '%25')
return uri.pathname
}