aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-06-16 13:23:32 -0400
committerJoey Hess <joey@kitenet.net>2010-06-16 13:23:32 -0400
commit69c22fa1ea143e3eb36692e087b167ae2171581e (patch)
tree5caea6f31f07b9a978046bf5dcd88373278070d0 /doc
parent96c7e31c34b10e343afb3f17eb1ca7c34aaa4123 (diff)
downloadikiwiki-69c22fa1ea143e3eb36692e087b167ae2171581e.tar
ikiwiki-69c22fa1ea143e3eb36692e087b167ae2171581e.tar.gz
attachment: Support Windows paths when taking basename of client-supplied file name.
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/attachment_upload_does_not_work_for_windows_clients.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/bugs/attachment_upload_does_not_work_for_windows_clients.mdwn b/doc/bugs/attachment_upload_does_not_work_for_windows_clients.mdwn
index de57a1441..ad3aadbce 100644
--- a/doc/bugs/attachment_upload_does_not_work_for_windows_clients.mdwn
+++ b/doc/bugs/attachment_upload_does_not_work_for_windows_clients.mdwn
@@ -4,6 +4,13 @@ It seems as if windows clients (IE) submit filenames with backslash as directory
But the attachment plugin translates these backslashes to underscore, making the
whole path a filename.
+> As far as I can see, that just means that the file will be saved with
+> a filename something like `c:__92__My_Documents__92__somefile`.
+> I don't see any "does not work" here. Error message?
+>
+> Still, I don't mind adding a special case, though obviously not in
+> `basename`. [[done]] --[[Joey]]
+
This little hack fixed the backslash problem, although I wonder if that
really is the problem?
(Everything works perfectly from linux clients of course. :-)