jovanzers / dabr

Automatically exported from code.google.com/p/dabr
0 stars 0 forks source link

Mention highlighting matches superstring usernames #210

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What are the steps to trigger the problem?
1) Using any Twitter client, post a tweet containing your username with some 
extra text on the end.  e.g. @dennyFALSEMATCH
2) View that tweet in a stream using dabr.

What happened?
The tweet will be highlighted as if it contained your username.

What did you expect to happen?
The tweet shouldn't be highlighted.

I'm guessing there's a string search somewhere which looks for the user's 
username in each tweet - it needs to also look for a non-word-character (or end 
of tweet) immediately following the user's username.

Original issue reported on code.google.com by dennymeta on 12 Jun 2011 at 3:57

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r414.

Original comment by terence.eden on 13 Jun 2011 at 1:42

GoogleCodeExporter commented 9 years ago
Issue 214 has been merged into this issue.

Original comment by terence.eden on 20 Jun 2011 at 10:18