Bugzilla – Attachment 164146 Details for
Bug 36149
userenv stored in plack worker's memory and survive from one request to another
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36149: (follow-up) POD and tidy
Bug-36149-follow-up-POD-and-tidy.patch (text/plain), 934 bytes, created by
Nick Clemens (kidclamp)
on 2024-03-29 18:15:11 UTC
(
hide
)
Description:
Bug 36149: (follow-up) POD and tidy
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-03-29 18:15:11 UTC
Size:
934 bytes
patch
obsolete
>From 0e3a59b3624937a2ca5f08edcf94831055a490ac Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 29 Mar 2024 18:09:30 +0000 >Subject: [PATCH] Bug 36149: (follow-up) POD and tidy > >--- > Koha/Middleware/UserEnv.pm | 14 +++++++++++++- > 1 file changed, 13 insertions(+), 1 deletion(-) > >diff --git a/Koha/Middleware/UserEnv.pm b/Koha/Middleware/UserEnv.pm >index 03d515fdcff..ab67fab913a 100644 >--- a/Koha/Middleware/UserEnv.pm >+++ b/Koha/Middleware/UserEnv.pm >@@ -5,8 +5,20 @@ use parent qw(Plack::Middleware); > > use C4::Context; > >+=head1 NAME >+ >+Koha::Middleware::UserEnv - Middleware to ensure fresh userenv in all requests >+ >+=head1 METHODS >+ >+=head2 call >+ >+This method is called for each request, and will unset the userenv to avoid contamination between requests. >+ >+=cut >+ > sub call { >- my ( $self, $env ) =@_; >+ my ( $self, $env ) = @_; > > my $req = Plack::Request->new($env); > >-- >2.30.2
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 36149
:
163039
|
163040
|
163041
|
163042
|
163043
|
163402
|
163403
|
163404
|
163406
|
163407
|
163409
|
163412
|
163499
|
164145
|
164146
|
164555
|
164567
|
164568
|
164569