View Issue Details

IDProjectCategoryView StatusLast Update
0016185mantisbtfilterspublic2022-03-02 22:32
Reportermobilemicha Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Product Version1.2.15 
Summary0016185: Permalinks do not work when having categories with ampersands
Description

When creating a permalink on a category which is having an ampersand in it's name (e.g."Research & Development") the created permalink doesn't filter.

Steps To Reproduce

1) Create a Category with an ampersand in the Name e.g. "Research & Development".
2) Go to View Issues
3) Select the Category "Research & Development"
4) Apply Filter
5) Select "Create Permalink"
6) Klick on the Permalink does not filter

Additional Information

Seems like the source of this Problem is in the handling of an ampersand in the url. The created Permalink (only the important Part) was:
http://mantisbt/search.php?project_id=1&category=Research%20&Development=&sticky_issues=off

So the string after the ampersand is handled like an own GET-Paramter (that's why there is an "=" added behind the Development).When you replace the URL with the correct url-encoded string it works:

http://mantisbt/search.php?project_id=1&category=Research+%26+Development&sticky_issues=off

Tested on 1.2.15 and 1.2 Git trunk

TagsNo tags attached.

Activities

There are no notes attached to this issue.