Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

GET Parameter with square brackets is not excluded properly. #3201

Closed
anonymous-piwik-user opened this Issue · 4 comments

4 participants

@anonymous-piwik-user

I have get parameters with square brackets "[]" in it. I can not blacklist those parameter in the admin interface.

Chrome is URL encoding the brackets:
http:://MYDOMAIN/sompage?von%5Bvalue%5D%5Bdate%5D=01.01.2012&bis%5Bvalue%5D%5Bdate%5D=31.12.2012

FF is displaying it:
http:://MYDOMAIN/sompage?von[value][date]=&bis[value][date]=

I tried to enter both variants at the admin page
http://PIWIKDOMAIN/index.php?module=SitesManager&action=index&idSite=1&period=day&date=yesterday
but this is not working. The encoded version is not saved. The other version is saved but in the URL List the parameter still shows up and is not ignored.

@catchin

for a fix, see the latest patch for #3187

@mattab
Owner

Thanks for report and fix

@mattab
Owner

(In [6659]) Fixes #3187 Handle java style matrix URLs
Fixes #3201 GET Parameter with square brackets can now be excluded properly

Thanks catchin for the patches!!
Please consider contributing further patches if you can :)

@sgiehl
Collaborator

(In [refs #3227, #3107, #3201 changed phpunit test according to changes in 6659)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.