Bugzilla – Attachment 182300 Details for
Bug 39789
Add ability to specify an alternative header to X-Forwarded-For for finding the real IP address
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39789: Display the trusted proxy IP addresses and reverse proxy IP header on about page
Bug-39789-Display-the-trusted-proxy-IP-addresses-a.patch (text/plain), 1.72 KB, created by
Lin Wei
on 2025-05-12 15:37:09 UTC
(
hide
)
Description:
Bug 39789: Display the trusted proxy IP addresses and reverse proxy IP header on about page
Filename:
MIME Type:
Creator:
Lin Wei
Created:
2025-05-12 15:37:09 UTC
Size:
1.72 KB
patch
obsolete
>From 8ee9b3e278014137f23de5ff37fe0941bbfb4963 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Mon, 5 May 2025 12:23:22 +0000 >Subject: [PATCH] Bug 39789: Display the trusted proxy IP addresses and reverse > proxy IP header on about page > >Signed-off-by: Lin Wei Li <lin-wei.li@inLibro.com> >--- > about.pl | 2 ++ > koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 8 ++++++++ > 2 files changed, 10 insertions(+) > >diff --git a/about.pl b/about.pl >index 93532d1b0f..72e4cfe90b 100755 >--- a/about.pl >+++ b/about.pl >@@ -180,6 +180,8 @@ if ( $tab eq 'about' ) { > mysqlVersion => $versions{'mysqlVersion'}, > apacheVersion => $versions{'apacheVersion'}, > memcached_running => Koha::Caches->get_instance->memcached_cache, >+ reverse_proxy_ip_header => C4::Context->config('reverse_proxy_ip_header'), >+ koha_trusted_proxies => C4::Context->config('koha_trusted_proxies'), > ); > > } >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >index 2ff35d710a..397befda71 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt >@@ -264,6 +264,14 @@ > [% END %] > </td> > </tr> >+ <tr> >+ <th scope="row">Trusted proxy IP addresses</th> >+ <td>[% koha_trusted_proxies | html %]</td> >+ </tr> >+ <tr> >+ <th scope="row">Reverse proxy IP header</th> >+ <td>[% reverse_proxy_ip_header | html %]</td> >+ </tr> > </table> > [% END # tab=about %] > [% END %] >-- >2.43.0
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 39789
:
181718
|
181720
|
181915
|
181916
|
181917
|
181918
|
181919
|
181920
|
181921
|
182299
|
182300
|
182395
|
182396
|
182397
|
182841
|
182842
|
182843
|
182844
|
182846
|
182847
|
182848
|
182849
|
183215