Opened 4 weeks ago
Last modified 4 weeks ago
#7932 new defect (bug)
Issue mentioning long user names in Trac
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Trac | Keywords: | |
Cc: |
Description
I'm not sure if this is a Trac software issue, or if this is something correlated with the wordpress profiles integration in Trac, but I've noticed that its impossible to cite users with too long usernames (and maybe a couple of hyphens)
I've found one example in this user in the Core Trac:
https://profiles.wordpress.org/addweb-solution-pvt-ltd/
When mentioning it shows like this:
As you can see, the -ltd part is not included in the issue, plus the mention links to:
https://profiles.wordpress.org/addweb-solution-pvt-
Note: See
TracTickets for help on using
tickets.
Ref of the screenshot: https://core.trac.wordpress.org/ticket/63086#comment:45
This is a display issue only, it's likely that this is tripping up the
{1,20}
included in the below regex, as it's expecting that usernames with a-
would have a maximum of 20char after the initial-
.https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html/style/trac/wp-trac.js?marks=199#L197
[3821] could likely just be expanded to include
\-
into the initial capture group.