Ticket #3382 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

formatting.php - sanitize_file()

Reported by: donncha Assigned to: shorty114
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

patch.txt (0.7 kB) - added by donncha on 11/23/06 11:21:35.
patch.2.txt (0.7 kB) - added by shorty114 on 11/29/06 21:24:38.
Changed to sanitize_file_name

Change History

11/23/06 11:21:35 changed by donncha

  • attachment patch.txt added.

(follow-up: ↓ 2 ) 11/23/06 16:49:26 changed by 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.

(in reply to: ↑ 1 ) 11/24/06 04:07:32 changed by Viper007Bond

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.

11/29/06 21:24:38 changed by shorty114

  • attachment patch.2.txt added.

Changed to sanitize_file_name

11/29/06 21:25:21 changed by shorty114

  • keywords set to bg|has-patch bg|dev-feedback.
  • owner changed from anonymous to shorty114.
  • status changed from new to assigned.

12/24/06 05:26:48 changed by shorty114

  • keywords changed from bg|has-patch bg|dev-feedback to has-patch dev-feedback.

01/09/07 22:52:31 changed by ryan

  • milestone set to 2.1.

01/09/07 22:53:17 changed by ryan

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [4710]) sanitize_file_name(). fixes #3382 #3554