You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Space encoding in the search URL param changes from %20 (search-input-field value status: running) to +search-input-field value status:+running) when starting out unauthenticated and then logging in. This results in an invalid search query after getting redirected back.
Steps to Reproduce
Access the Concourse Web interface and ensure you're currently logged out
Use search-input-field to search for something (e.g. status: running)
Click "login" in the upper-right and successfully log in
After getting redirected back, note that space characters have been replaced with +, resulting in something like "No results for status:+running matched your search."
Expected Results
The original search value is preserved after going through the login process.
Actual Results
The original search value is modified after going through the login process.
Version Info
Concourse version: 5.4.1
Deployment type (BOSH/Docker/binary): BOSH
Infrastructure/IaaS: vSphere
Browser (if applicable): Firefox 68.0
Did this used to work? Unknown
The text was updated successfully, but these errors were encountered:
Technically encoding spaces as %20 isn't wrong. Ideally golang would provide some way to mutate the query parameters on a URL without re-encoding (since decoding and encoding are not proper inverses), but as far as I can tell it doesn't. So we kinda have to handle this on the Elm side. When parsing the search parameter, if you see a + you have to workaround elm/url's bug and replace it with a ' '.
Bug Report
Space encoding in the
search
URL param changes from%20
(search-input-field
valuestatus: running
) to+
search-input-field
valuestatus:+running
) when starting out unauthenticated and then logging in. This results in an invalid search query after getting redirected back.Steps to Reproduce
search-input-field
to search for something (e.g.status: running
)+
, resulting in something like "No results for status:+running matched your search."Expected Results
The original search value is preserved after going through the login process.
Actual Results
The original search value is modified after going through the login process.
Version Info
The text was updated successfully, but these errors were encountered: