Join GitHub today
JS: Uncaught URIError: URI malformed with Chrome/IE11 and ISO 8859-1 Encoding #8413
Samples with French character:
or with German Umlaut
I used latest Piwik, 2.14.x
Line 2140 of the current piwik.js:
"decodeWrapper" is "window.decodeURIComponent" and "decodeURIComponent" expects UTF-8.
Since "locationArray" holds "window.location.href" and since that contains the ISO-8859-... - characters, current piwik (IMHO) is not fully compatible with websites that encode Links in ISO-8859-...
Is the use of "unescape" instead of / before using "decodeURIComponent" a solution to the problem?