The browser's «Back» button is broken after the «Show watched topics» link has been clicked

Step 1.

A user click the «Show watched topics» link on its own profle page:

Step 2.

Discourse redirects him to a page with the topics he is watching (right).

The user clicks the browser’s «Back» button.

Step 3.

Discourse redirects him to a wrong page (Discourse should redirect him to his profile page instead).

4 Likes

Fixed via:

https://github.com/discourse/discourse/commit/a0e0ab610e83373aa8d46d2d54accdd5ed1d191a

3 Likes