[
http://jira.jboss.com/jira/browse/JBSEAM-2497?page=all ]
Shane Bryzak closed JBSEAM-2497.
--------------------------------
Resolution: Done
Fixed in CVS - if for some strange reason someone wants the full path (I have no idea why
they would) they can raise another issue and I'll make this configurable. For now
though, the filename will be extracted automatically if it includes the full path.
s:fileUpload should only store uploaded file name, not the full path
--------------------------------------------------------------------
Key: JBSEAM-2497
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2497
Project: JBoss Seam
Issue Type: Feature Request
Components: JSF Controls
Reporter: Alex Savitsky
Assigned To: Shane Bryzak
Priority: Optional
Fix For: 2.1.0.GA
i know, it's not Seam issue per se, more like stupid programming of Internet Explorer
- when uploading files, IE sends the full path of the uploaded file
("C:\\Path\\FileName.txt") rather than just the file name. So far, I haven't
seen an upload use case that would require full path to be stored - usually, only the file
name is required. Thus, I'd suggest that s:fileUpload either a) chops the path out or
b) at least gives us such option (e.g., a parameter to s:fileUpload)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira