-
Lukas Fleischer authored
We fixed all known CRSF vulnerabilities in commit 2c93f0a9 (Implement token system to fix CSRF vulnerabilities, 2012-06-23). c349cb2f (Add virtual path support for package actions, 2012-07-17) partly reverted this by injecting a valid CRSF token when virtual paths are in use. This patch allows for keeping the virtual path feature, while reintroducing POST forms and CRSF tokens. Actions like package flagging, votes and notifications are no longer prone to CRSF (see FS#35437 for details). Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
69b98efa