Open GoogleCodeExporter opened 9 years ago
Rather than nonces, how about an "are you sure?" on the SK2 end?
Nonces really aren't as good for email links, IMO.
(In fact, how would you do that? An email link can't POST, can it? WP nonces
only
work for forms)
Original comment by stephen....@gmail.com
on 20 Aug 2008 at 3:01
As I said: nonces were practically undocumented at the time, but I'm pretty
sure they were accepted through GET, not just POST (much like practically
anything else in WP, AFAIK).
Not sure what you mean by just an "are you sure" message. The point of nonces
is not just to avoid mistakes, it's mainly to avoid any sort of dangerous
exploits using URLs... A backend script should never do something potentially
drastic (such as deleting or flagging comments) on an openly exposed URL.
That being said, it seems WP has a mechanism in place to fall back on when an
invalid nonce is provided, which automatically displays this "are you sure"
message... But frankly not sure how that works (this might provide some hints
in the right direction: http://core.trac.wordpress.org/ticket/2734)
Original comment by zedrd...@gmail.com
on 20 Sep 2011 at 7:41
Original issue reported on code.google.com by
zedrd...@gmail.com
on 24 Jul 2008 at 6:27