remove trailing slash from attachment_holding_dir
authorJoey Hess <joey@kitenet.net>
Tue, 14 Jun 2011 19:47:47 +0000 (15:47 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 14 Jun 2011 19:49:33 +0000 (15:49 -0400)
commit2e086b3263f33d3d42ddbcb451e9995c466929cd
tree1b1eda1efcc486878eda32578753e408b2172b04
parentd4254c7f97cacffe500c3a9b6c1d887ebd3687fb
remove trailing slash from attachment_holding_dir

If it's passed a filename, it should return the filename inside the holding
dir. If passed a page, the directory sans slash. All code adds the slash.
IkiWiki/Plugin/attachment.pm