Refreshing a users detail page in admin doesn't work in some cases

  1. Username is
  2. In Admin->Users click on user to see user details
  3. Reload page in browser
  4. Gives “Oops! That page doesn’t exist or is private.”

Discourse 1.6.0b6, Chrome 50, Windows 7

It works for users having single word names for example, so I guess it has to do with the routing and our username format


I have managed to replicate this issue.
The same is happening if you open the user details in a new tab.
There should be something wrong with the dots andI have got the same error when I created a username with two dots.

Also you will be able to access the page if you change the last part of the URL to “mathias.kallbergatfootwayco”

I have found the bug and it’s in the routes, could I just create a PR to fix it?


Thanks @merc :thumbsup: