Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 251687 | Differences between
and this patch

Collapse All | Expand All

(-)FuzzyOcr-3.5.1-orig/FuzzyOcr.pm (-1 / +1 lines)
Lines 146-152 Link Here
146
            ){
146
            ){
147
            $fname = join('',@{$p->{'headers'}->{'content-id'}});
147
            $fname = join('',@{$p->{'headers'}->{'content-id'}});
148
            $fname =~ s/[<>]//g;
148
            $fname =~ s/[<>]//g;
149
            $fname =~ tr/\@\$\%\&/_/s;
149
            $fname =~ tr/\@\$\%\&\./_/s;
150
        }
150
        }
151
151
152
        my $filename = $fname; $filename =~ tr{a-zA-Z0-9\-.}{_}cs;
152
        my $filename = $fname; $filename =~ tr{a-zA-Z0-9\-.}{_}cs;

Return to bug 251687