Offering wrong filename for dump

Issue #37 resolved
Former user created an issue

Originally reported on Google Code with ID 37 ``` When I tried to export table, filename "../../databases/test.db.tbl.6-7-11.dump" was offered for dump http://www.imageup.ru/img165/2011-06-07-225939_1017x669_scrot675766.png (I suppose it is $directory + database_name + table_name + something)

After I press "Export", OS window appeared with wrong filename ".._.._databases_test.db.tbl.6-7-11.dump" http://www.imageup.ru/img165/2011-06-07-225819_502x359_scrot675773.png (slashes replaced with underscores with dots :-) )

After pressing "Save" in that window, in next OS window the same offered filename in the top. http://www.imageup.ru/img165/2011-06-07-225825_842x808_scrot675784.png ```

Reported by `owl.brainworker` on 2011-06-07 19:13:09

Comments (3)

  1. Dane Iracleous

    ``` That is because slashes are not valid characters for filenames, so I replace them with underscores. Thoughts? ```

    Reported by `diracleo` on 2011-06-07 20:53:15

  2. Former user Account Deleted

    ``` You offer full filename with path! It is cause of such wrong name like ".._.._lala.tbl.sql". Does anybody name his file like that? NO. So, why full path?

    You should offer just filename like "lala.tbl.sql". Path, where to save file, user defines by himself with aid of OS "save dialog" that opens later. ```

    Reported by `owl.brainworker` on 2011-06-07 22:30:56

  3. Dane Iracleous

    ``` This has been fixed in v1.8.7. The export filename now does not include the path from the server. ```

    Reported by `diracleo` on 2011-06-08 00:21:07 - Status changed: `Fixed`

  4. Log in to comment