http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14408
--- Comment #27 from Jonathan Druart <jonathan.dru...@biblibre.com> --- (In reply to Fridolin SOMERS from comment #26) > also, minor error : > dot must be espaced in regexp and I dont understand why there is a "?" at > the end : > ^[$safe_chars]+\.tt$ > > Do I create a new Bug ? Chris, I would say this changes could do the trick: - die "bad template path" unless $in->{'template_name'} =~ m/^[$safe_chars]+.tt?$/ig; #sanitize input + die "bad template path" unless $in->{'template_name'} =~ m/^[$safe_chars]+\.tt$/ig; #sanitize input -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://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/