Ticket #30 (closed enhancement: fixed)
make sure the filenames are safe
| Reported by: | sheep | Owned by: | sheep |
|---|---|---|---|
| Priority: | Normal | Milestone: | 1.4.0 |
| Component: | Hatta Wiki | Version: | 1.3.3dev |
| Keywords: | Cc: |
Description
Use the http://werkzeug.pocoo.org/documentation/dev/utils.html#werkzeug.secure_filename function to make sure the filenames are safe on the filesystem that is being used.
Change History
Note: See
TracTickets for help on using
tickets.

That function does too much (stripping characters from the filename making it impossible to recreate the titles), so instead only parts of it were adapted.
On top of that, the function had different behavior on different systems, which would result in incompatible repositories. The function used now has the same behavior on all systems.
Fixed in 8745488a7e28.