summaryrefslogtreecommitdiff
path: root/rt/html/NoAuth/images
diff options
context:
space:
mode:
authorivan <ivan>2005-10-15 09:11:20 +0000
committerivan <ivan>2005-10-15 09:11:20 +0000
commit673b9a458d9138523026963df6fa3b4683e09bae (patch)
tree42acc524ff5fd53e4fdb2f5b6dac4a42ce8057f6 /rt/html/NoAuth/images
parent591613cf1c861505335646fff3ffb4a705e011bf (diff)
parentd4d0590bef31071e8809ec046717444b95b3f30a (diff)
This commit was generated by cvs2svn to compensate for changes in r4407,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'rt/html/NoAuth/images')
-rw-r--r--rt/html/NoAuth/images/autohandler7
1 files changed, 5 insertions, 2 deletions
diff --git a/rt/html/NoAuth/images/autohandler b/rt/html/NoAuth/images/autohandler
index 86f3b2286..2e428c157 100644
--- a/rt/html/NoAuth/images/autohandler
+++ b/rt/html/NoAuth/images/autohandler
@@ -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>