View | Details | Raw Unified | Return to bug 14679
Collapse All | Expand All

(-)koha-3.18.08.orig/C4/Auth.pm (-1 / +1 lines)
Lines 157-163 Link Here
157
157
158
    C4::Context->interface( $in->{type} );
158
    C4::Context->interface( $in->{type} );
159
159
160
    my $safe_chars = 'a-zA-Z0-9_\-\/';
160
    my $safe_chars = 'a-zA-Z0-9_\.\-\/';
161
    die "bad template path" unless $in->{'template_name'} =~ m/^[$safe_chars]+\.tt$/ig; #sanitize input
161
    die "bad template path" unless $in->{'template_name'} =~ m/^[$safe_chars]+\.tt$/ig; #sanitize input
162
162
163
    $in->{'authnotrequired'} ||= 0;
163
    $in->{'authnotrequired'} ||= 0;

Return to bug 14679