Illegal characters| View in Tracker
Reporter/Name(from Bugbase): Alex Furey / ()
Failure Type: Usability Issue
Found In Build/Fixed In Build: 2016.0.04.302561 /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win 2012 Server x64
Vote Count: 0
Problem Description: When using the "getAttachments" action of the cfexchange tag, files with names that contain illegal characters will throw an error and cannot be saved to disk. Steps to Reproduce: Use <cfexchange action="getAttachments" ... /> to download an attachment with a name that includes a colon, or some other illegal filename character. For example, the file I received this morning had the name "C:UsersJohnDAppDataLocalTemprmStmt_CMPNY_00.pdf" (notice the colon). Actual Result: An exception of type "java.nio.file.InvalidPathException" is thrown with a message like: "Illegal char <:> at index N: \\PATH\TO\FILE\INVALID:NAME.PDF" Expected Result: The file is written to disk without the invalid character(s) or with spaces in place of the invalid characters. Any Workarounds: None.