mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-04-27 04:15:16 +00:00
bce5b44275
- set the nonce and noncePrev for the handler when rendering the form - include the current nonce in the hidden parameter "nonce" - include an "action" parameter (so we know we want to execute something and hence, validate the nonce, rather than just display the page) - if the nonce submitted doesnt match what is set in the nonce or noncePrev when validating, its invalid. refuse to process