Navigating directly to user page breaks 'back' button

Hey Discourse!

I just noticed that navigating directly to a user’s page (http://meta.discourse.org/users/gdpelican) breaks the back button functionality (it creates a loop between /users/<username> and /users/<username>/activity)

Seems to work ok when navigating through, say, the user card though.

6 Likes

Hmm… seems to work when linked from a topic within the app, but typing that link in directly to a browser window causes that weird redirect.

Maybe not the biggest deal, but made me want to tear my hair out for a second or two.

3 Likes

Something for you to peek at @eviltrout.

1 Like

I believe this is a bug in the Ember framework. I created a workaround previously that rewrites URLs but I couldn’t get the typing or copying and pasting one to work. Fortunately, I think it’s quite a rare case to paste a URL like that then hit back.

I’m hoping the next Ember upgrade fixes it. There are many fixes included and it worked before we upgraded to this release.

2 Likes