Issues and Merge Request filters does not work in IE11
Summary
IE11 is throwing 400 Bad Request
error when you try to filter issues or merge requests with any criteria.
Steps to reproduce
- Open GitLab IE11
- Go to any project
/issues
or/merge_requests
page. - Try to filter using any criteria
- Hit enter to perform search
What is the current bug behavior?
Browser throws 400 Bad Request
error.
What is the expected correct behavior?
Browser should be able to search based on filter provided.
Screenshot (GIF)
Output of checks
This bug happens on GitLab.com
Possible Fix
filtered_search_manager.js#L387 has statement;
const parameterizedUrl = `?scope=all&utf8=✓&${paths.join('&')}`;
where utf8=✓
is causing this bug, and ✓
symbol requires to be encoded (using encodeURIComponent
) to work properly with IE, also behavior with other browsers will remain unaffected after this change.