chiark
/
gitweb
/
~mdw
/
tgal
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24f4eac
)
mason/dhandler (.contact): Slightly reformat trailing-`/' redirect code.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 11 Jun 2023 16:55:33 +0000
(17:55 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 12 Jun 2023 10:48:39 +0000
(11:48 +0100)
mason/dhandler
patch
|
blob
|
blame
|
history
diff --git
a/mason/dhandler
b/mason/dhandler
index 014f5da946fa64a5849d5a3726974dbda4e6bc2c..dded49ce5cd3a0e803b6336496ce706e1bdc5a5a 100755
(executable)
--- a/
mason/dhandler
+++ b/
mason/dhandler
@@
-67,9
+67,9
@@
Failed to find ‘<% $path |h %>’.
%###-------------------------------------------------------------------------
<%def .contact>\
<%perl>
- unless ($r->path_info =~ m!/$!)
{
- $m->redirect(join_paths($SCRIPTURL, $path) . "/");
- }
+ unless ($r->path_info =~ m!/$!)
+ { $m->redirect(join_paths($SCRIPTURL, $path) . "/"); }
+
my $real = join_paths $IMGROOT, $path;
my $url = join_paths $SCRIPTURL, $path;
my ($dd, $ff, $ii) = listdir $real;