Bug #4105
closedcontent search - back button behavior has issues in Firefox
Description
Observed an interesting behavior with Content Search in Firefox (19.0.2), which was not observed with Chrome.
Scenario:
- in browser tab 1, go to any page (e.g. Providers)
- in browser tab 2, go to Content Search, select some search criteria and Search
(e.g. Content: Repositories, Add view name, Search)
- after the search is completed, copy the URL and Paste & Go it in to tab 1
(e.g. https://katello:3000/katello/content_search#search[views][autocomplete]0[id]=4&search[views][autocomplete]0[name]=zoo+2+view&search[repos][search]=&search[content_type]=repos&envs[]=1&envs[]=2
- after the search query is performed in tab 1, hit the back button
- at this point, you should be on the original page (e.g. Providers); however, you probably aren't.
- hit the back button again and observe that the second back button query takes you back to the original page
This "hit back button twice" seems to occur only with Firefox.
From looking at the Content Search URLs, this may be an encoding issue. In Firefox, the URL will contain [] characters; however, in Chrome, they are encoded as %5B and %5D.
Created: bbuckingham on April 11, 2013 21:02 +00:00
Imported from https://api.github.com/repos/Katello/katello/issues/1919