I agree, percent signs (%) in URI are a bad idea, but some 3rd-party asset creator didn't think of that and it took me a while to figure out exactly which file was the culprit, as it was causing the whole caching to fail.
Known workarounds for this issue are not great. I think adding a try { ... } catch (err) { ... } might be the best way to go and add a warning message on error (or just to the console).
I agree, percent signs (%) in URI are a bad idea, but some 3rd-party asset creator didn't think of that and it took me a while to figure out exactly which file was the culprit, as it was causing the whole caching to fail.
The issue is with the
getFileName
function here in utils.js.Known workarounds for this issue are not great. I think adding a
try { ... } catch (err) { ... }
might be the best way to go and add a warning message on error (or just to the console).