Closed mlankamp closed 1 week ago
Ran into a problem today, the manifestSrc url contains a Shared Access Key (files are not public avialable) and the key contained a /.
Example: https://domain.com/manifest.json?sp=r&sig=/eDdWelJCWXFUnBrPdkyuvGW5b4VIvhfhHSg844pGsQ%3D
https://domain.com/manifest.json?sp=r&sig=/eDdWelJCWXFUnBrPdkyuvGW5b4VIvhfhHSg844pGsQ%3D
In this case the signature contains a /, this causes the function getBaseDirectory to get the wrong base path.
getBaseDirectory
Solution: strip the querystring from the filePath
Ran into a problem today, the manifestSrc url contains a Shared Access Key (files are not public avialable) and the key contained a /.
Example:
https://domain.com/manifest.json?sp=r&sig=/eDdWelJCWXFUnBrPdkyuvGW5b4VIvhfhHSg844pGsQ%3D
In this case the signature contains a /, this causes the function
getBaseDirectory
to get the wrong base path.Solution: strip the querystring from the filePath