Bugzilla – Attachment 54324 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), 838 bytes, created by
Marcel de Rooy
on 2016-08-12 06:18:09 UTC
(
hide
)
Description:
Bug 17110: [EXAMPLE PATCH] CSRF expiry of 10 seconds in opac-sendbasket
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-08-12 06:18:09 UTC
Size:
838 bytes
patch
obsolete
>From 6c120e32c32273ae8388f9a1cfeebaab63ad9445 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 >Content-Type: text/plain; charset=utf-8 > >This patch should NOT be pushed ! >It is used to test the first patch only. >--- > opac/opac-sendbasket.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/opac/opac-sendbasket.pl b/opac/opac-sendbasket.pl >index b1f6f3e..4d1d1b8 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, > }); > } > >-- >1.7.10.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