Skip to content

Commit

Permalink
Bug fixing: ERAttachment fails to process files with names containing…
Browse files Browse the repository at this point in the history
… special characters like '#'
  • Loading branch information
mmankai authored and Pascal Robert committed Apr 15, 2012
1 parent c6fb303 commit b5852c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ else if (!webPath.startsWith("/")) {
}
try {
attachment.setWebPath(ERAttachmentProcessor._parsePathTemplate(attachment, webPath, recommendedFileName));
NSData data = new NSData(uploadedFile.toURL());
NSData data = new NSData(uploadedFile.toURI().toURL());
if (smallData) {
attachment.setSmallData(data);
}
Expand Down

0 comments on commit b5852c3

Please sign in to comment.