Opened 23 months ago

Closed 21 months ago

Last modified 21 months ago

#3201 closed Bug (fixed)

GET Parameter with square brackets is not excluded properly.

Reported by: marcusx Owned by:
Priority: normal Milestone: 1.8.3 - Piwik 1.8.3
Component: Core Keywords:
Cc: Sensitive: no

Description

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.

Change History (4)

comment:1 Changed 22 months ago by catchin

for a fix, see the latest patch for #3187

comment:2 Changed 21 months ago by matt (mattab)

  • Milestone changed from 1.8.x - Piwik 1.8.x to 1.8.3 - Piwik 1.8.3

Thanks for report and fix

comment:3 Changed 21 months ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(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 :)

comment:4 Changed 21 months ago by SteveG (sgiehl)

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

Note: See TracTickets for help on using tickets.