Bugzilla – Attachment 90395 Details for
Bug 23068
Add ability for Koha to handle X-Forwarded-For headers so REMOTE_ADDR features work behind a proxy
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23068: [DO NOT PUSH] Add debugging to C4::Context
Bug-23068-DO-NOT-PUSH-Add-debugging-to-C4Context.patch (text/plain), 728 bytes, created by
Kyle M Hall (khall)
on 2019-06-06 19:42:31 UTC
(
hide
)
Description:
Bug 23068: [DO NOT PUSH] Add debugging to C4::Context
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2019-06-06 19:42:31 UTC
Size:
728 bytes
patch
obsolete
>From a899c3a006f9f809ecd89d0759a2d55faef216d6 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 6 Jun 2019 15:13:19 -0400 >Subject: [PATCH] Bug 23068: [DO NOT PUSH] Add debugging to C4::Context > >--- > C4/Context.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/C4/Context.pm b/C4/Context.pm >index 9b3f74dbb2..50c3177c25 100644 >--- a/C4/Context.pm >+++ b/C4/Context.pm >@@ -408,6 +408,7 @@ my $use_syspref_cache = 1; > sub preference { > my $self = shift; > my $var = shift; # The system preference to return >+ warn "REMOTE ADDRESS: " . $ENV{'REMOTE_ADDR'}; > > return $ENV{"OVERRIDE_SYSPREF_$var"} > if defined $ENV{"OVERRIDE_SYSPREF_$var"}; >-- >2.20.1 (Apple Git-117)
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 23068
:
90395
|
90396
|
90582
|
91173
|
91174
|
91447
|
92461
|
92462
|
92463
|
92464
|
94807
|
94808
|
94838
|
94839
|
94919