Ember refresh page and add '?'to url when trying to redirect

Ember refresh page and add '?'to url when trying to redirect to another route, second time it works but keep that additional ‘?’ in url,

start: localhost:4200/abc/#/login

click submit button: refresh page and add ‘?’ to url, localhost:4200/abc/?#/login

click button again: redirect successful but still keep the ‘?’ in url, localhost:4200/abc/?#/index

Can you provide more information about your code? There’s a good chance there’s a query param at play here, but it’s impossible to know without some code to look at.

If you can provide a basic reproduction of the issue on Ember Twiddle that would be really helpful for getting you an answer.