mason/dhandler: Pass arguments to the subcomponent.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 9 Jun 2023 21:11:46 +0000 (22:11 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 9 Jun 2023 21:13:09 +0000 (22:13 +0100)
mason/dhandler

index f66b2b3..ca5dad2 100755 (executable)
@@ -324,7 +324,7 @@ Failed to find &lsquo;<% $path |h %>&rsquo;.
        elsif (-f $st) { $comp = ".image"; }
        else { $comp = ".not-found"; }
         $r->header_out("X-AGPL-Source" => $SRCURL);
-       $m->comp($comp, path => $path);
+       $m->comp($comp, path => $path, %ARGS);
 </%init>
 %
 %###----- That's all, folks -------------------------------------------------