Reloading the webpage always fills in the "Search:" field
Hello.
I have input "a." into the "Search:" field. Since then, every time I reload the page, or load the page in a new tab, it ends up changing the URL from "https://www.ec2instances.info/" to "https://www.ec2instances.info/?filter=a.®ion=eu-central-1".
Please take a look into this issue. Thanks.
Persisting the search term, region, pricing duration, and a few other fields is intentional to make it easier to reuse the same view. For legacy reasons they get saved to a cookie and updated in the URL, which is a little unusual. What would you prefer the behavior to be?
Hi. Steps to reproduce the issue I am experiencing:
- Go to https://www.ec2instances.info/?filter=m5a.2xlarge
- The search field is displaying
m5a.2xlarge - In "Search:" delete
.2xlargeto yieldm5a- Optional: then close the current browser tab
- In a new browser tab: load https://www.ec2instances.info
- https://www.ec2instances.info is redirected to https://www.ec2instances.info/?filter=m5a.2xlarge
- Expected outcome: it is redirected to https://www.ec2instances.info/?filter=m5a because
m5ais the most recent value of the "Search:" field
- Expected outcome: it is redirected to https://www.ec2instances.info/?filter=m5a because
Don't have time to work on this now but thank you for those steps which will certainly make it easier to fix.