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

**URL:** https://meta.discourse.org/t/refreshing-a-users-detail-page-in-admin-doesnt-work-in-some-cases/44891
**Category:** Bug
**Created:** [2016 年 5 月 27 日午前 9:07 UTC](https://meta.discourse.org/t/refreshing-a-users-detail-page-in-admin-doesnt-work-in-some-cases/44891 "2016-05-27T09:07:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mathias.kallberg](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@mathias.kallberg](https://meta.discourse.org/u/mathias.kallberg)
#### Post date: [2016 年 5 月 27 日午前 9:07 UTC](https://meta.discourse.org/t/refreshing-a-users-detail-page-in-admin-doesnt-work-in-some-cases/44891/1 "2016-05-27T09:07:36Z")

</div>

1. Username is [mathias.kallberg.at.footway.com](http://mathias.kallberg.at.footway.com)
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

---

<div class="post-metadata">

### Author: ![merc](https://avatars.discourse-cdn.com/v4/letter/m/f07891/32.png) [@merc](https://meta.discourse.org/u/merc)
#### Post date: [2016 年 6 月 6 日午後 8:24 UTC](https://meta.discourse.org/t/refreshing-a-users-detail-page-in-admin-doesnt-work-in-some-cases/44891/2 "2016-06-06T20:24:22Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [2016 年 10 月 12 日午後 5:29 UTC](https://meta.discourse.org/t/refreshing-a-users-detail-page-in-admin-doesnt-work-in-some-cases/44891/3 "2016-10-12T17:29:04Z")

</div>

[https://github.com/discourse/discourse/pull/4255](https://github.com/discourse/discourse/pull/4255)

Thanks @merc 👍

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [2016 年 10 月 12 日午後 5:29 UTC](https://meta.discourse.org/t/refreshing-a-users-detail-page-in-admin-doesnt-work-in-some-cases/44891/4 "2016-10-12T17:29:07Z")

</div>


