Bugzilla – Attachment 54475 Details for
Bug 17110
Lower CSRF expiry in Koha::Token
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17110: [EXAMPLE PATCH] CSRF expiry of 10 seconds in opac-sendbasket
Bug-17110-EXAMPLE-PATCH-CSRF-expiry-of-10-seconds-.patch (text/plain), 927 bytes, created by
Marc Véron
on 2016-08-15 13:27:21 UTC
(
hide
)
Description:
Bug 17110: [EXAMPLE PATCH] CSRF expiry of 10 seconds in opac-sendbasket
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-08-15 13:27:21 UTC
Size:
927 bytes
patch
obsolete
>From 8f2dc299fb060ec1d5cfad425b1c204bae23d996 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 12 Aug 2016 07:53:51 +0200 >Subject: [PATCH] Bug 17110: [EXAMPLE PATCH] CSRF expiry of 10 seconds in > opac-sendbasket >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch should NOT be pushed ! >It is used to test the first patch only. > >Signed-off-by: Marc Véron <veron@veron.ch> >--- > opac/opac-sendbasket.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/opac/opac-sendbasket.pl b/opac/opac-sendbasket.pl >index 6b9ba43..57bc5ec 100755 >--- a/opac/opac-sendbasket.pl >+++ b/opac/opac-sendbasket.pl >@@ -58,6 +58,7 @@ if ( $email_add ) { > id => C4::Context->userenv->{id}, > secret => md5_base64( C4::Context->config('pass') ), > token => scalar $query->param('csrf_token'), >+ MaxAge => 10, > }); > } > >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17110
:
54313
|
54323
|
54324
|
54473
|
54474
|
54475
|
54806
|
54807