Display Documents over FTP-access with / in Filename not posible
Bug #804260 reported by
René Glauser
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP R&D Addons Team 1 |
Bug Description
Hello
At the moment it is not possible to make files visible over ftp when ther is a / in the filename.e.g in customer-invoices named "SAJ/2011/010"
security vulnerability: | yes → no |
visibility: | private → public |
Changed in openobject-addons: | |
status: | Invalid → Triaged |
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 1 (openerp-dev-addons1) |
importance: | Undecided → Wishlist |
status: | Triaged → Confirmed |
To post a comment you must log in.
You shouldn't have a / in the filename no matter what. It is an illegal character for filenames in both Windows and Unix. So you are probably creating directories. When saving those files you should use str.replace('/', '') or more likely object. name.replace( '/','')