Some of my private chat messages were displaying in public chat room! It is strange!
EDIT:
It is 'Normal Ajax' method.
Steps to reproduce:
- Speed up the Input: i.e , Type the new chat text to 'public chat' immediately after enter chat text to private chat.
I think it is because the JS script collects all the inputs and send to server with the 'last input window' details.
see the attached screen shot.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | Screenshot from 2013-11-09 19:27:21.png | 60.06 KB | vinoth.3v |
Comments
Comment #1
darklrd commentedWhich polling method are you using? Thanks.
Comment #2
vinoth.3v commentednormal ajax
Comment #3
vinoth.3v commentedany update?
Comment #4
darklrd commentedI am unable to re-create this issue. Please provide some more details which would help in creating this issue. Also, a screenshot would be very helpful. Please re-open this once you provide further information. Thanks.
Comment #5
vinoth.3v commentedIt happens very rarely, I am not sure at which situation this happens. but I am sure it happened some times on my live site.
Comment #6
vinoth.3v commentedI can reproduce this security/privacy bug in latest dev.
It is 'Normal Ajax' method.
Steps to reproduce:
I think it is because the JS script collects all the inputs and send to server with the 'last input window' details.
Comment #7
vinoth.3v commentedComment #8
darklrd commentedThank you for providing steps and screenshots. I will check it out now. Your theory does seem to be correct.
Comment #9
vinoth.3v commentedThank you,
And you can increase the heartbeat delay so testing would be easy I think.
Comment #10
vinoth.3v commentedAny update?
Comment #11
darklrd commentedThis happens while using AJAX polling method due to introducing delay while sending messages. I have removed this delay now. Committed - http://drupalcode.org/project/drupalchat.git/commit/c09d73f. Thanks!
Comment #12
vinoth.3v commentedGood