Ernie and all...,<br><br>Thanks for getting back to me.<br><br>I&#39;m using Drupal 5.7. I&#39;d list modules but I&#39;m almost certain now that the problem isn&#39;t a Drupal problem. I&#39;m pretty sure the problem occurs when someone attempts to provide a direct url to the file and sends it via e-mail -- and then somebody&#39;s email client messes up the URL. The &quot;refferer&quot; URL&#39;s are usually missing from the watchdog page which means the links aren&#39;t coming from inside Drupal.<br>
<br>Even though this problem isn&#39;t being caused by Drupal, I&#39;d still love to have a way to strip out spaces from file names upon upload just to prevent this problem.<br><br>Shai<br><br><div class="gmail_quote">On Wed, May 14, 2008 at 7:47 AM, Earnie Boyd &lt;<a href="mailto:earnie@users.sourceforge.net">earnie@users.sourceforge.net</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">Quoting Shai Gluskin &lt;<a href="mailto:shai@content2zero.com">shai@content2zero.com</a>&gt;:<br>

<br>
&gt; Drupalers,<br>
&gt;<br>
&gt; I went looking through my watchdog tonight (really should do that more) --<br>
&gt; at: admin/logs/watchdog<br>
&gt;<br>
&gt; and I noticed that there were some page not found errors for file downloads<br>
&gt; like this:<br>
&gt;<br>
&gt; File name is: example file.doc<br>
&gt;<br>
&gt; The URL that works is:<br>
&gt; <a href="http://example.com/files/example%20file.doc" target="_blank">example.com/files/example%20file.doc</a><br>
&gt;<br>
&gt; The URL that is showing up on the watchdog page-not-found entry is:<br>
&gt; <a href="http://example.com/files/example%2520file.doc" target="_blank">example.com/files/example%2520file.doc</a><br>
&gt;<br>
&gt; Testing from my own browsers I couldn&#39;t repeat the problem.<br>
&gt;<br>
&gt; What browser or what situation is causing the space to be replaced by %2520<br>
&gt; instead of %20? Has anyone ever seen this before? Is there a utility for the<br>
&gt; upload module that rips out spaces from file names? I&#39;m having a problem<br>
&gt; with Thickbox having trouble with images with spaces in their names.<br>
&gt;<br>
&gt; Looking forward to hear about others&#39; experiences on this one.<br>
&gt;<br>
<br>
</div></div>Drupal version and contrib modules list are needed to dissect this.<br>
Looks like the URL is encoded twice by some means. &nbsp;%25 == % [1].<br>
<br>
[1] <a href="http://www.w3schools.com/TAGS/ref_urlencode.asp" target="_blank">http://www.w3schools.com/TAGS/ref_urlencode.asp</a><br>
<br>
Earnie -- <a href="http://for-my-kids.com/" target="_blank">http://for-my-kids.com/</a><br>
-- <a href="http://give-me-an-offer.com/" target="_blank">http://give-me-an-offer.com/</a><br>
<font color="#888888"><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></blockquote></div><br>