#3382 closed enhancement (fixed)
formatting.php - sanitize_file()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | has-patch dev-feedback |
| Cc: |
Description
This patch adds a new function, sanitize_file() to formatting.php, via Matt
Attachments (2)
Change History (8)
comment:1
follow-up:
↓ 2
masquerade — 7 years ago
comment:2
in reply to:
↑ 1
Viper007Bond — 7 years ago
Replying to masquerade:
Can we name it sanitize_file_name() or sanitize_filename(), sanitize_file() makes it sound like we are actually doing something to a file.
Agreed.
- Keywords bg|has-patch bg|dev-feedback added
- Owner changed from anonymous to shorty114
- Status changed from new to assigned
- Keywords has-patch dev-feedback added; bg|has-patch bg|dev-feedback removed
Note: See
TracTickets for help on using
tickets.

Can we name it sanitize_file_name() or sanitize_filename(), sanitize_file() makes it sound like we are actually doing something to a file.