Issue Details (XML | Word | Printable)

Key: MBS-3904
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Oliver Charles
Reporter: Johannes Weißl
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
MusicBrainz Server

It is possible to vote for own edits

Created: 04/Dec/11 02:42 PM   Updated: 09/Jul/12 07:40 AM  Due: 26/Mar/13   Resolved: 09/Jul/12 07:40 AM
Component/s: Edit system
Affects Version/s: None
Fix Version/s: Bug fixes, 2012-07-09


 Description  « Hide

I have no idea how it happened (I didn't do it on purpose), but I was able to vote for my own edit:
http://musicbrainz.org/edit/15703832



Sort Order: Ascending order - Click to sort in descending order

Alex Mauer added a comment - 26/Mar/12 08:17 PM

This seems to be pretty easy to do intentionally (or programatically). There is no validation that the voting user is not the same as the editor.

Login, saving session cookies:
wget --keep-session-cookies --save-cookies cookies.txt --post-data 'username=Hawke&password=xxxxx' http://musicbrainz.org/login

Submit vote:
wget --load-cookies cookies.txt --post-data 'url=http://musicbrainz.org/edit/16944694&enter-vote.vote.0.edit_id=16944694&enter-vote.vote.0.vote=1&submit=Enter vote' http://musicbrainz.org/edit/enter_votes


Oliver Charles added a comment - 14/Jun/12 04:55 PM

This is in review at http://codereview.musicbrainz.org/r/1961/ and available for testing at http://test.musicbrainz.org/


Oliver Charles added a comment - 25/Jun/12 11:41 AM

The origin/mbs-3904 branch is now in beta testing.