Issue in hierarchical page report: parameter label wrongly encoded

Matomo version: 3.5.0, MySQL version: 10.1.21-MariaDB, PHP version: 7.1.1

Hello, we encoutered a new issue since we updated to Matomo 3.5.0 : when we try to generate a report of a selected page, we get an empty report.
After some investigation, it seems that the parameter “label” is not well decoded in the query.
By default, the query contains : “label=sg%2520%2526gt%253B%2520pages%2520%2526gt%253B%2520%2540%25252Findex.aspx” and it doesn’t work.
If I manually edit the query in the URL with :
“label=sg%20%26gt%3B%20pages%20%26gt%3B%20%40%252Findex.aspx” then it does work. However, I cannot tell all my customers to use this workaround.

EDIT : This is in fact a MATOMO issue.
It can be reproduced here Matomo Forums - Tuesday, June 12, 2018 - Web Analytics Reports - Matomo

Select a page under a hierarchy (ex: top > /all) and generate a XML report for it, the query will be:
https://demo.matomo.org/index.php?date=2018-05-14,2018-06-12&expanded=1&filter_limit=100&format=XML&format_metrics=1&idSite=7&label=top%20%26gt%3B%20%40%252Fall&method=Actions.getPageUrls&module=API&period=day&token_auth=anonymous
And it’s empty.

If you are able to, please open an issue there: Issues · matomo-org/matomo · GitHub

Thanks, it’s done :slight_smile: