Forums / Setup & design / filenames of uploaded files

filenames of uploaded files

Author Message

Kjell Knudsen

Wednesday 18 August 2004 5:34:09 am

Hi there,

Was a bit surprised when I saw that uploaded binary files have their filenames left intact after upload. And when referenced to in the system with this. That including spaces and non english characters. Is this no longer considered a problem? I'd really like to have some validation of the filenames and have them converted to something which will work on most browsers.

-kjell

Kjell Knudsen
http://www.icbl.org

eZ debug

Timing: Jan 18 2025 15:59:08
Script start
Timing: Jan 18 2025 15:59:08
Module start 'content'
Timing: Jan 18 2025 15:59:08
Module end 'content'
Timing: Jan 18 2025 15:59:08
Script end

Main resources:

Total runtime0.0312 sec
Peak memory usage4,096.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0084 589.4844180.8359
Module start 'content' 0.00840.0107 770.320389.7734
Module end 'content' 0.01920.0120 860.093866.7031
Script end 0.0312  926.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.005417.2596120.0004
Check MTime0.00196.1847120.0002
Mysql Total
Database connection0.00103.268610.0010
Mysqli_queries0.003711.903040.0009
Looping result0.00000.048820.0000
Template Total0.011336.210.0113
Template load0.00319.954710.0031
Template processing0.008226.253510.0082
Override
Cache load0.00226.952410.0022
General
dbfile0.003711.8343100.0004
String conversion0.00000.025930.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs