Navigating directly to user page breaks 'back' button


(James Kiesel) #1

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.


(James Kiesel) #2

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.


(Jeff Atwood) #4

Something for you to peek at @eviltrout.


(Robin Ward) #5

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.


Once navigated to a user profile page, can't use back button anymore
(Jeff Atwood) #6