This commit was generated by cvs2svn to compensate for changes in r4407,
[freeside.git] / rt / html / NoAuth / images / autohandler
index 86f3b22..2e428c1 100644 (file)
@@ -15,7 +15,10 @@ if ($file =~ /\.(gif|png|jpe?g)$/i) {
 die unless (-f $file && -r $file);
 $r->content_type($type);
 open (FILE, "<$file") || die;
-$m->out($_) while (<FILE>);
-close(FILE);
+{
+    local $/ = \16384;
+    $m->out($_) while (<FILE>);
+    close(FILE);
+}
 $m->abort;
 </%init>