comments.py change request.
"Blake Winton" <blake-dlUKtbW3TlBcVw/[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.devel,gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
Hey all, I'm not sure if this is the right place to send this, but my wife just ran into a, well, not exactly a bug, but more of a mis-feature in the way PyBlosxom handles comments. She entered a comment, and then hit refresh on the page, and the same comment was entered again. Post-Redirect-Get is a standard Web Application Pattern to avoid this sort of thing. There is more information about it at: http://en.wikipedia.org/wiki/Post/Redirect/Get but the basic idea is that the Post form should, instead of returning the page, return a redirect to a GET page, so that the user can bookmark it, or reload it, without any ill effects. I took a quick look at how I could implement this, but it's been quite a while since I've done any PyBlosxom hacking, and I couldn't figure out how to send the redirect from within the comments.py plugin. If anyone had some pointers, I'ld be happy to help get this working in any way I could. Thanks, Blake. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV