View Issue Details

IDProjectCategoryView StatusLast Update
1578ComposrGeneral / Uncategorisedpublic2014-02-24 19:21
ReporterLhasadreams Assigned ToChris Graham  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Summary1578: @username functionality behaves incorrectly
DescriptionIf a username contains a "-" then the sent forum post appears to send the email to another user.

Take for example a user called bugs-gti, the highlighted username in the sent forum post is bugs.
So it appears that it matches the bugs user and ignores everything after the hyphen.

Please can someone take a look.

It is on vwgolfmk1.org.uk

Cheers
Ade
TagsNo tags attached.
Attach Tags
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2014-02-24 19:21

administrator   ~2052

For reference, code was already very smart about this, but just buggy.

It reads everything up to the line end, and then does an OR query based on all possibilities against all possible non-word cut points (i.e. any possible parse for a username). It picks the longest username matched.

Issue History

Date Modified Username Field Change
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised