익명 설정을 사용하는 경우, 글쓴이가 자신의 글을 추천 / 비추천 / 신고 할 수 있는 버그 #1961
Merged
3 commits merged intoSep 22, 2016
Merged
Conversation
YJSoft
approved these changes
Sep 18, 2016
bjrambo
approved these changes
Sep 18, 2016
This pull request was closed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
스스로 추천 / 비추천 / 신고하는 걸 막기 위해
기본적으로 IP 가 동일하면 해당 행위가 불가능합니다.
그러나 IP 가 달라지는 경우를 대비해 그 바로 뒤에
회원정보를 검토해 글쓴이정보와 추천인정보가 같은 경우 추천 등이 안 되게 하는 소스가 있는데 이게 버그가 살짝 있네요
익명 기능을 쓰는 경우, 이 글쓴이와 동일여부를 검토하는 소스가 작동을 하도록 abs 처리를 했습니다.