-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
BugFor errors / faults / flaws / inconsistencies etc.For errors / faults / flaws / inconsistencies etc.
Milestone
Description
Expected Behavior
User should be able to use lower/greater than signs (< >) in segment names.
The pages report should show performance reports whether a segment is in use or not.
Current Behavior
When selecting Performance icon from Pages report when segment is being used, the UI gives an error:
"Error: The segment condition 'actions>' is not valid." After this the menu disappears, too.
We found out that if the segment contains a suitable condition such as greater than (>), then the url will contain that character as html-encoded ( & gt; ) and the url of the user interface link will be broken with a semicolon. This only happens from the pages report when clicking the performance icon.
Steps to Reproduce (for Bugs)
- Rename a segment so it has lower than or greater than sign in the name.
- Select Performance icon from Pages while also using the renamed segment.
Your Environment
PHP version: 8.0.22
MySQL version: 10.1.36-MariaDB
Matomo version: 4.10.1
Metadata
Metadata
Assignees
Labels
BugFor errors / faults / flaws / inconsistencies etc.For errors / faults / flaws / inconsistencies etc.