diff options
author | Yorhel <git@yorhel.nl> | 2010-11-06 16:49:09 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2010-11-06 16:49:09 +0100 |
commit | 5f6845d76c1ed3cbfea73b004940749f64dab972 (patch) | |
tree | 98477dd8dcd001bd1c670dc74bf9adcb1b5a66be /lib/VNDB/Util | |
parent | e625403d6108b3f95361ece3c4311dae88747107 (diff) |
URL change: /u/logout => /u$id/logout
Also fixes a cross-site request forgery vulnerability. Not as strong as
the others but it's not very crucial anyway.
Diffstat (limited to 'lib/VNDB/Util')
-rw-r--r-- | lib/VNDB/Util/LayoutHTML.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Util/LayoutHTML.pm b/lib/VNDB/Util/LayoutHTML.pm index eb086bcd..93a35e0e 100644 --- a/lib/VNDB/Util/LayoutHTML.pm +++ b/lib/VNDB/Util/LayoutHTML.pm @@ -94,7 +94,7 @@ sub _menu { a href => '/v/new', mt '_menu_addvn'; br; a href => '/p/new', mt '_menu_addproducer'; br; br; - a href => '/u/logout', mt '_menu_logout'; + a href => "$uid/logout", mt '_menu_logout'; end; } else { h2; |