LP#1449709: Always get a real hostname for the cache key collab/gmcharlt/lp1449709-TT-caching-by-egweb
authorMike Rylander <mrylander@gmail.com>
Fri, 22 May 2015 17:11:18 +0000 (13:11 -0400)
committerMike Rylander <mrylander@gmail.com>
Fri, 22 May 2015 17:11:18 +0000 (13:11 -0400)
commit968b2464c7cf9128708e30631904b0fe2ae76aa3
treedcb84acb4d1c600c0b100a440fc4d1c93c236e6a
parentbc3f47ed390e7576a16fbccc7c0d413724ae5c3c
LP#1449709: Always get a real hostname for the cache key

EGCatLoader overwrites $ctx->{hostname} when serving the staff client
version of TT-generated content.  This is bad for us because we use
that as part of the TT Processor cache key.  Instead, we'll just
always ask Apache, via $r.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm