summaryrefslogtreecommitdiff
path: root/rt/share/html/NoAuth/images/autohandler
diff options
context:
space:
mode:
Diffstat (limited to 'rt/share/html/NoAuth/images/autohandler')
-rw-r--r--rt/share/html/NoAuth/images/autohandler3
1 files changed, 2 insertions, 1 deletions
diff --git a/rt/share/html/NoAuth/images/autohandler b/rt/share/html/NoAuth/images/autohandler
index 431a44f..7abf8b8 100644
--- a/rt/share/html/NoAuth/images/autohandler
+++ b/rt/share/html/NoAuth/images/autohandler
@@ -3,5 +3,6 @@
# properly configured their webserver to stop RT from passing
# images through the mason handler.
my $file = $m->base_comp->source_file;
-RT::Interface::Web->SendStaticFile( File => $file );
+my $relfile = $m->base_comp->path;
+RT::Interface::Web->SendStaticFile( File => $file, RelativeFile => $relfile );
</%INIT>