# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- a/filefield_sources_old.module
+++ b/filefield_sources.module
@@ -335,6 +335,7 @@
   $file = new stdClass();
   $file->uid      = $user->uid;
   $file->status   = 0;
+  $filepath = urldecode($filepath);
   $file->filename = trim(basename($filepath), '.');
   $file->uri      = $filepath;
   $file->filemime = file_get_mimetype($file->filename);
