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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:07:27
Script start
Timing: Jan 18 2025 19:07:27
Module start 'layout'
Timing: Jan 18 2025 19:07:27
Module start 'content'
Timing: Jan 18 2025 19:07:27
Module end 'content'
Timing: Jan 18 2025 19:07:27
Script end

Main resources:

Total runtime0.0200 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0082 587.9141152.6250
Module start 'layout' 0.00820.0037 740.539139.4453
Module start 'content' 0.01190.0060 779.984485.2266
Module end 'content' 0.01800.0020 865.210930.3047
Script end 0.0199  895.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002612.8030140.0002
Check MTime0.00115.6170140.0001
Mysql Total
Database connection0.00094.265710.0009
Mysqli_queries0.005326.353130.0018
Looping result0.00000.069010.0000
Template Total0.00168.110.0016
Template load0.00084.206210.0008
Template processing0.00083.822010.0008
Override
Cache load0.00063.003610.0006
General
dbfile0.00115.344680.0001
String conversion0.00000.051240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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