Clicking back button in Chrome to repo search renders Page Source / JSON
GitLab-CE 13.11.1
Steps to reproduce:
- log in to GitLab instance, directs to "Projects" page (URL is: https://{gitlab-instance})
- Filter projects by typing in the "Filter by name" field (URL is: https://{gitlab-instance}/?sort=latest_activity_desc&utf8=%E2%9C%93&name=dummy&sort=latest_activity_desc )
- Click into one of the repositories in the resulting listing (URL is: https://{gitlab-instance}/{project-name}/{repo-name}
- Click the back button {URL is: https://{gitlab-instance}/?sort=latest_activity_desc&utf8=%E2%9C%93&name=dummy&sort=latest_activity_desc )
Expected result:
Directed to either the previous filtered results, or the unfiltered "Projects" page
Actual result:
Lots of JSON
Additional Information
This does not happen when the URL at step 1 is: https://{gitlab-instance}/dashboard/projects It sometimes happens when the URL at step 1 is: https://{gitlab-instance}/explore
I am not an administrator of this instance so cannot see much more info I think (e.g. logs).
JSON output extract
{"html":"\u003cdiv class=\"js-projects-list-holder\" data-qa-selector=\"projects_list\"\u003e\n\u003cul class=\"projects-list\"\u003e\n\u003cli class=\"project-row d-flex\"\u003e\n\u003cdiv class=\"avatar-container s48 flex-grow-0 flex-shrink-0 rect-avatar\"\u003e\n\u003ca class=\"project\" ...