If you edit a comment from an anonymous user or a different user that your current user, the comment preview shows a link to your own user profile instead of the expected user's information. This is not a security issue since it does not change the current logged in user.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | live-comment-user.patch | 3.05 KB | dave reid |
Comments
Comment #1
dave reidSolution: Add the comment's uid to the JavaScript so it can be properly passed into $comment->uid. Patch attached for 6.x-1.x.
Comment #2
Gurpartap Singh commentedThanks man! I never really worked on it because it needed a lot of user logic (anonymous vs authenticated/current vs commenter user(again anon vs real user) on add vs edit forms) blllaaaah haha. I have fixed that now, hopefully. A bug remains: when anonymous user is allowed to edit all comments, user is always shown as "Anonymous". It might be really trivial but I didn't care to look into it.
http://drupal.org/cvs?commit=244592
http://drupal.org/cvs?commit=244592