]> CyberLeo.Net >> Repos - SourceForge/phpwiki.git/commit
Fixed bugs so now page deletion works again. Also added some minor
authordairiki <dairiki@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Mon, 28 Jan 2002 01:57:13 +0000 (01:57 +0000)
committerdairiki <dairiki@96ab9672-09ca-45d6-a79d-3d69d39ca109>
Mon, 28 Jan 2002 01:57:13 +0000 (01:57 +0000)
commitf32ea7d383b84b507b68b73977054bb97ca4065c
tree450c7d126a982eb91fc9f70aa7205025669b3f10
parent7808b95a53fced41e01580d156363cc9f5e86b9c
Fixed bugs so now page deletion works again.  Also added some minor
safety features:

  o Require deletion confirmation to be sent via POST
    rather than GET.  This makes it slightly more difficult
    to do mass damage via simple scripts...

  o Also include version serialization checks.
    If someone edits the page between when you hit the
    remove button and when you confirm the delete, the
    deletion will fail.  (This also makes it a little harder
    for malicious hackers to trash a wiki...)

git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@1653 96ab9672-09ca-45d6-a79d-3d69d39ca109
lib/main.php
lib/removepage.php