Bugzilla – Attachment 31462 Details for
Bug 12886
shelfbrowser script should write headers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12886: shelfbrowser script should write headers
Bug-12886-shelfbrowser-script-should-write-headers.patch (text/plain), 1000 bytes, created by
Jonathan Druart
on 2014-09-08 14:21:41 UTC
(
hide
)
Description:
Bug 12886: shelfbrowser script should write headers
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2014-09-08 14:21:41 UTC
Size:
1000 bytes
patch
obsolete
>From dbc0e7f27d0b2830b74270db5cbae31409d7f985 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Mon, 8 Sep 2014 16:09:22 +0200 >Subject: [PATCH] Bug 12886: shelfbrowser script should write headers > >opac/svc/shelfbrowser.pl does not write http headers. > >On a production server, this patch resolves a server internal error >(500): > Bad header= <div id="shelfbrowser"> > >I did not reproduce on my local instance, but this should be fixed. > >Test plan: >Verify there is no regression on browsing a shelf (with "en" and translated >templates) >--- > opac/svc/shelfbrowser.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/opac/svc/shelfbrowser.pl b/opac/svc/shelfbrowser.pl >index 33c9cde..a49bc319 100755 >--- a/opac/svc/shelfbrowser.pl >+++ b/opac/svc/shelfbrowser.pl >@@ -38,4 +38,4 @@ if (C4::Context->preference("OPACShelfBrowser")) { > } > } > >-print $template->output; >+print output_html_with_http_headers $cgi, $cookie, $template->output; >-- >2.1.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 12886
:
31462
|
32351
|
33142
|
33178