pinax-likes icon indicating copy to clipboard operation
pinax-likes copied to clipboard

Like

Open ghost opened this issue 8 years ago • 1 comments

Since a like button usually lie in a detail page. Assume I have a blog post which URL is /post/4. When a anonymous user click the like boutton, he will redirect to the login page, with the url like /accounts/login/next=?like/5/6. Once he login, a http get request send to that url, while we didn't implement the get method in our view, so a exception will be thrown.Do you think so?By the way, I didn't test it in real situation. I just analysis from the source code.

ghost avatar Jul 02 '16 12:07 ghost

@zmrenwu thanks for your analysis. Writing a test to demonstrate behavior is the best way to get something changed. You might write a simple test showing this issue and submit a pull request for review. Thanks!

grahamu avatar Jul 02 '16 20:07 grahamu