
| Key: |
FC-964
|
| Type: |
Improvement
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
Minor
|
| Assignee: |
Unassigned
|
| Reporter: |
Chris Roth
|
| Votes: |
0
|
| Watchers: |
0
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Somewhere along the way the formtools file type started "cleaning" file names, which removes dashes and underscores. I my self would like to see those come back as I have just finished training people to stop using spaces and other crap in file names and use only - and _. We have large amounts of files on shares that use - and _ and its a bummer to rename them. but maybe its just me.
|
|
Description
|
Somewhere along the way the formtools file type started "cleaning" file names, which removes dashes and underscores. I my self would like to see those come back as I have just finished training people to stop using spaces and other crap in file names and use only - and _. We have large amounts of files on shares that use - and _ and its a bummer to rename them. but maybe its just me. |
Show » |
|
ft:file replaces all non alpha-numeric characters in the file to be
uploaded.
core/packages/formtools/file.cfc on or about line: 228 (latest from
svn)
<cfset cleanFileName = reReplaceNoCase(newFileName, "[^a-z0-9.]", "",
"all") />
I'd like to see the core allow "-" and "_" in file names.
<cfset cleanFileName = reReplaceNoCase(newFileName, "[^a-z0-9.\-\_]",
"", "all") />