https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40719
--- Comment #5 from David Cook <[email protected]> --- Created attachment 191539 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=191539&action=edit Bug 40719: Explicitly turn off RELATIVE for TemplateUtils This change explicitly turns off RELATIVE in Koha/TemplateUtils.pm Test plan (Koha/TemplateUtils.pm): 0. Apply the patch and koha-plack --restart kohadev 1. Go to http://localhost:8081/cgi-bin/koha/tools/letter.pl 2. Click "New notice" and choose "reports" 3. Add the following to the report: [% IF ( x == 1 ) %] One [% ELSE %] Two [% END %] 4. Go to http://localhost:8081/cgi-bin/koha/reports/guided_reports.pl?phase=Use%20saved 5. Create a report like the following: SELECT biblionumber FROM biblio; 6. Click "Run with template" and choose the Reports template you made 7. Note that the output shows "Two" 8. Edit your Reports notice and include the following: [% INSERT ../etc/passwd %] 9. Re-run the report using "Run with template" 10. Note that the output shows the regular SQL results (ie template transform not successful) Signed-off-by: David Cook <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
