I have a client for which I use webform to allow people to apply for employment positions. when I allow users to attach their resume's to the form submission, everything works fine, until HR tries to access the resume file attachment via the emailed link or the link in the submission results for the form.
What is happening is that drupal is swapping spaces in the url for the encoded value of %20, but the line 586 of components/file.inc is setting the url value differently...
$file_url = file_create_url($info['dirname'] .'/'. rawurlencode($info['basename']))
Sets the value of a space in the url as %2520
When I remove the function call to rawurlencode I see that the code works much better.
can I submit a patch for this and get you guys to make the change into the code base?