summaryrefslogtreecommitdiff
path: root/doc/bugs
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-23 15:00:07 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-23 15:00:07 -0400
commit335a6a59e66ee7c2cf0c68c659259b885f7e8a07 (patch)
tree4cb120f998980313c8066578177f94c7efe5ecb4 /doc/bugs
parent41b0c029c8e1c8cfe776c594c1912e84106d52a7 (diff)
parent1d1767192c80548755655cfe1ce8e503b392c7c1 (diff)
Merge branch 'master' into tova
Diffstat (limited to 'doc/bugs')
-rw-r--r--doc/bugs/attachment:_escaping_underscores_in_filename__63__.mdwn19
-rw-r--r--doc/bugs/map_is_inconsistent_about_bare_directories.mdwn26
2 files changed, 45 insertions, 0 deletions
diff --git a/doc/bugs/attachment:_escaping_underscores_in_filename__63__.mdwn b/doc/bugs/attachment:_escaping_underscores_in_filename__63__.mdwn
new file mode 100644
index 000000000..d7d101700
--- /dev/null
+++ b/doc/bugs/attachment:_escaping_underscores_in_filename__63__.mdwn
@@ -0,0 +1,19 @@
+I've just noticed that `attachment` plugin escapes the underscore
+characters in attached filenames. For example, when I wanted to add
+`foo_bar_baz.txt` file, then Ikiwiki added file `foo__95__bar__95__baz.txt`
+to my Subversion repo. I hope that the filename is terribly ugly not only
+for me ;)
+
+Is it a bug or security feature? --[[Paweł|ptecza]]
+
+>> Update: It's not only problem with attached filenames. I have
+>> `mysql/myisam_vs_ndb.mdwn` page in my wiki and attached two
+>> images (`myisam_vs_ndb_sql.png` and `myisam_vs_ndb_cpu.png`)
+>> and one OpenDocument file (`myisam_vs_ndb.ods`). Ikiwiki placed
+>> them into `myisam__95__vs__95__ndb` subdirectory as
+>> `myisam__95__vs__95__ndb__95__sql.png`, `myisam__95__vs__95__ndb__95__cpu.png`
+>> and `myisam__95__vs__95__ndb.ods` files. When I click "Attachments" link,
+>> I can't see my uploaded files, because there are in another subdirectory
+>> (`myisam__95__vs__95__ndb` instead of `myisam_vs_ndb`). --[[Paweł|ptecza]]
+
+> [[done]], uses `linkpage` now.
diff --git a/doc/bugs/map_is_inconsistent_about_bare_directories.mdwn b/doc/bugs/map_is_inconsistent_about_bare_directories.mdwn
new file mode 100644
index 000000000..479db3e0f
--- /dev/null
+++ b/doc/bugs/map_is_inconsistent_about_bare_directories.mdwn
@@ -0,0 +1,26 @@
+The [[plugins/map]] plugin has inconsistent behaviour. In particular, I have in my wiki some directory structures holding files without wikitext pointers (I point directly to the files from elsewhere). For example, imagine the following file structure in the source dir:
+
+* Assignments.mdwn
+* Assignments
+ * 2004
+ * Assign1.pdf
+ * Assign2.pdf
+ * 2005
+ * Assign1.pdf
+ * Assign2.pdf
+ * 2006
+ * etc., etc.
+
+When I use map to make a map of this, the result looks more like this:
+
+* Assignments # this is a link to the correct page
+ * 2004 # this has a create link
+ * Assign1.pdf
+ * Assign2.pdf
+ * Assign1.pdf
+ * Assign2.pdf
+ * etc., etc.
+
+Note that while the 2004 directory exists with a create link, the 2005 and 2006 (etc) directories are missing from the site map.
+
+I could imagine including all 'bare' directories in the map, and I could imagine including no 'bare' directories in the map. Just including the first bare directory seems a strange intermediate point.