X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/f213303f4351ffbe560d0237e2a88acbc9d9ed1e..b5eb811faed5050ced2c6dcc5b52d60d3851d24b:/doc/bugs/attachment:_escaping_underscores_in_filename__63__.mdwn diff --git a/doc/bugs/attachment:_escaping_underscores_in_filename__63__.mdwn b/doc/bugs/attachment:_escaping_underscores_in_filename__63__.mdwn index f7e1c80f0..4ce4ac5ee 100644 --- a/doc/bugs/attachment:_escaping_underscores_in_filename__63__.mdwn +++ b/doc/bugs/attachment:_escaping_underscores_in_filename__63__.mdwn @@ -1,7 +1,22 @@ -I've just noticed that `attachment` plugin esacapes underscore characters -in attached filenames. For example, when I wanted to add +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. + +>> It's seems that now Ikiwiki doesn't escape the filenames with underscore(s). +>> Thank you very much for the fast fix! --[[Paweł|ptecza]]