add spec dependency
[ikiwiki] / doc / bugs / attachment:_escaping_underscores_in_filename__63__.mdwn
1 I've just noticed that `attachment` plugin escapes the underscore
2 characters in attached filenames. For example, when I wanted to add
3 `foo_bar_baz.txt` file, then Ikiwiki added file `foo__95__bar__95__baz.txt`
4 to my Subversion repo. I hope that the filename is terribly ugly not only
5 for me ;)
6
7 Is it a bug or security feature? --[[Paweł|ptecza]]
8
9 >> Update: It's not only problem with attached filenames. I have
10 >> `mysql/myisam_vs_ndb.mdwn` page in my wiki and attached two
11 >> images (`myisam_vs_ndb_sql.png` and `myisam_vs_ndb_cpu.png`)
12 >> and one OpenDocument file (`myisam_vs_ndb.ods`). Ikiwiki placed
13 >> them into `myisam__95__vs__95__ndb` subdirectory as
14 >> `myisam__95__vs__95__ndb__95__sql.png`, `myisam__95__vs__95__ndb__95__cpu.png`
15 >> and `myisam__95__vs__95__ndb.ods` files. When I click "Attachments" link,
16 >> I can't see my uploaded files, because there are in another subdirectory
17 >> (`myisam__95__vs__95__ndb` instead of `myisam_vs_ndb`).  --[[Paweł|ptecza]]
18
19 > [[done]], uses `linkpage` now.
20
21 >> It's seems that now Ikiwiki doesn't escape the filenames with underscore(s).
22 >> Thank you very much for the fast fix! --[[Paweł|ptecza]]