@rristow opened this Issue on February 24th 2016

Piwik (php) will not store the complete URI if the query part of the URI has more than one parameter with the same key/name. e.g.
http:/mydomain.com?selected_colors=red&selected_colors=blue&par3=1

It's a little bit strange to have parameter with the same name, but there are some systems that use this technic (like plone4) and I didn't find a clear definition about this in the "rfc3986".
The main problem is that the link in the reports (like 'Visitor Profile report') will be truncate . e.g.
http:/mydomain.com?selected_colors=red&par3=1

@tsteur commented on February 25th 2016 Owner

Thank you @rristow Independent of any rfc I would say this is a bug. Piwik should not change the URL that was sent via the Tracking API. I think eg in angular this is valid and someone would get an array for selected_colors in this case

@rristow commented on March 10th 2016

Is there a workaround for this?

@tsteur commented on March 10th 2016 Owner

Unfortunately I cannot think of any workaround for this right now

@webmaxttor commented on April 9th 2017

@mattab - All forms with lists are actually "misinterpreted" in piwik. Is this bug not serious?
Because campains can be based on survey-forms. And all answers from lists, check-boxes, etc... will be "wrong" in piwik.
Take a look here:
http://stackoverflow.com/questions/724526/how-to-pass-multiple-parameters-in-a-querystring
https://msdn.microsoft.com/en-us/library/ms524784(v=vs.90).aspx

@rristow commented on May 8th 2017

@mattab - May I ask if there some input here?

Powered by GitHub Issue Mirror