Bugzilla – Attachment 70872 Details for
Bug 20083
Information disclosure when (mis)using the MARC Preview feature
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch that fixes showmarc.pl
koha_bug_2018-01-24.patch (text/plain), 1.19 KB, created by
Andreas Roussos
on 2018-01-24 07:12:24 UTC
(
hide
)
Description:
patch that fixes showmarc.pl
Filename:
MIME Type:
Creator:
Andreas Roussos
Created:
2018-01-24 07:12:24 UTC
Size:
1.19 KB
patch
obsolete
>--- showmarc.pl.master 2018-01-23 15:31:36.741812289 +0100 >+++ showmarc.pl.fixed 2018-01-24 08:05:31.872892073 +0100 >@@ -37,6 +37,17 @@ > use C4::XSLT (); > > my $input= new CGI; >+my ( $template, $loggedinuser, $cookie ) = get_template_and_user( >+ { >+ template_name => "catalogue/showmarc.tt", >+ query => $input, >+ type => "intranet", >+ authnotrequired => 0, >+ flagsrequired => { catalogue => 1 }, >+ debug => 1, >+ } >+); >+ > my $biblionumber= $input->param('id'); > my $importid= $input->param('importid'); > my $view= $input->param('viewas')||''; >@@ -70,16 +81,6 @@ > Encode::encode_utf8(C4::XSLT::engine->transform($xml, $xsl)); > } > else { >- my ( $template, $loggedinuser, $cookie ) = get_template_and_user( >- { >- template_name => "catalogue/showmarc.tt", >- query => $input, >- type => "intranet", >- authnotrequired => 0, >- flagsrequired => { catalogue => 1 }, >- debug => 1, >- } >- ); > $template->param( MARC_FORMATTED => $record->as_formatted ); > output_html_with_http_headers $input, $cookie, $template->output; > }
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 20083
:
70872
|
70923
|
70924
|
70929
|
70931
|
71077
|
71084