Bugzilla – Attachment 8192 Details for
Bug 7618
HTML special characters break result table and incorrectly show SQL in Run This Report
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7618 HTML Escaped SQL (master)
0001-Bug-7618-Escape-HTML-special-characters-for-SQL-disp.patch (text/plain), 1.17 KB, created by
David Cook
on 2012-03-12 23:28:10 UTC
(
hide
)
Description:
Bug 7618 HTML Escaped SQL (master)
Filename:
MIME Type:
Creator:
David Cook
Created:
2012-03-12 23:28:10 UTC
Size:
1.17 KB
patch
obsolete
>From 1ec52c927ca89d1fb84a37ce48f9971db57c6374 Mon Sep 17 00:00:00 2001 >From: David <dcook@prosentient.com.au> >Date: Tue, 13 Mar 2012 10:17:32 +1100 >Subject: [PATCH] Bug 7618 Escape HTML special characters for SQL displayed > above results in Report module >Content-Type: text/plain; ccharset="utf-8" > >--- > .../en/modules/reports/guided_reports_start.tt | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >index caf27f1..137fdbf 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt >@@ -496,7 +496,7 @@ canned reports and writing custom SQL reports.</p> > <h1>[% name %]</h1> > [% IF ( notes ) %]<p>[% notes %]</p>[% END %] > [% IF ( unlimited_total ) %]<p>Total number of rows matching the (unlimited) query is [% unlimited_total %].</p>[% END %] >-<pre id="sql_output">[% sql %]</pre> >+<pre id="sql_output">[% sql |html %]</pre> > <div class="pages">[% pagination_bar %]</div> > [% UNLESS ( errors ) %] > <table> >-- >1.7.7.4 >
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 7618
:
7976
|
8192
|
8193