@gnomeby opened this Issue on September 23rd 2020

If I use encoded percent symbol in campaign name:
?pk_campaign=qwerty2%25-
It generates error in matomo.js:


matomo.js:26 Uncaught URIError: URI malformed
    at decodeURIComponent (<anonymous>)
    at f (matomo.js:26)
    at ct (matomo.js:51)
    at b0 (matomo.js:54)
    at matomo.js:70
    at ch (matomo.js:59)
    at Q.trackPageView (matomo.js:70)
    at af (matomo.js:23)
    at ad (matomo.js:74)
    at Object.addTracker (matomo.js:76)
@tsteur commented on September 23rd 2020 Member

Hi @gnomeby thanks for creating this issue. I can't reproduce this so far. Which browser is this and are you using the latest version of Matomo? So the URL otherwise looks like https://yourdomain/test.html?pk_campaign=qwerty2%25-

@gnomeby commented on September 24th 2020

Hello.

I'm using Google Chrome 85.0.4183.121 and the following URL:
https://matomo.org/product-features/?pk_campaign=qwerty2%25-

@gnomeby commented on September 24th 2020
@tsteur commented on September 24th 2020 Member

Thanks @gnomeby I can reproduce it there and created a patch: https://github.com/matomo-org/matomo/pull/16469

This Issue was closed on September 30th 2020
Powered by GitHub Issue Mirror