If you use the Task Card macro to display a task that is stored in a path that has a special character in it, the card will display a broken link.
Steps to reproduce the problematic behavior:
- Create a page with a special character in its name (~)
- Create a task in this page, save the page.
- Add a Task Card macro, add the task by copy-pasting the page reference of the task's page, save.
Expected behavior
The task is displayed and its link is working
Actual behavior
The link of the task is displayed as broken:

If you click on it, you are displayed with a "create page" pop-pup.
Environment
- OS: NA
- Browser: Chromium
- XWiki version 16.10.5
- App version 3.7.0
Additional context
XAR to reproduce - unzip it, seems I can't upload a xar file.
Task card.zip
If you use the Task Card macro to display a task that is stored in a path that has a special character in it, the card will display a broken link.
Steps to reproduce the problematic behavior:
Expected behavior
The task is displayed and its link is working
Actual behavior
The link of the task is displayed as broken:
If you click on it, you are displayed with a "create page" pop-pup.
Environment
Additional context
XAR to reproduce - unzip it, seems I can't upload a xar file.
Task card.zip