summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-23 14:58:39 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-23 14:58:39 -0400
commit1d1767192c80548755655cfe1ce8e503b392c7c1 (patch)
treeec27a26e9eba1929e1d379371064d3c0cc6d9ccb /IkiWiki
parenteca900e65934d89ba48c9055eb05482ac0d590fd (diff)
attachment: Do not escape _ when determining attachment filenames.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/attachment.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/attachment.pm b/IkiWiki/Plugin/attachment.pm
index 01d0d2478..3982c4883 100644
--- a/IkiWiki/Plugin/attachment.pm
+++ b/IkiWiki/Plugin/attachment.pm
@@ -102,7 +102,7 @@ sub formbuilder (@) { #{{{
}
}
- $filename=IkiWiki::titlepage(
+ $filename=IkiWiki::linkpage(
IkiWiki::possibly_foolish_untaint(
attachment_location($form->field('page')).
IkiWiki::basename($filename)));