<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -293,9 +293,9 @@ apr_status_t porter_handle_upload(porter_upload_request_t *ur, apreq_param_t *p)
   if (size == 0)
   {
     // There was no file, or at least it had no name, so let's
-    // treat it like a text area
-    PORTER_LOG(&quot;Appears there was no file, passing control to porter_handle_parameter&quot;);
-    return porter_handle_parameter(ur, p);
+    // just skip it.
+    PORTER_LOG(&quot;Appears there was no file, skipping the parameter&quot;);
+    return APR_SUCCESS;
   }
   PORTER_LOG(&quot;Appears there was a file, continuing&quot;);
   </diff>
      <filename>mod_porter.c</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3a77a621bf32db8c8e4f6cff86bf61ec1e7bafe6</id>
    </parent>
  </parents>
  <author>
    <name>Michael Koziarski</name>
    <email>michael@koziarski.com</email>
  </author>
  <url>http://github.com/actionrails/modporter/commit/b5c949503ef20d29fc14412c93cb8e4ed6e1e993</url>
  <id>b5c949503ef20d29fc14412c93cb8e4ed6e1e993</id>
  <committed-date>2009-08-02T21:38:52-07:00</committed-date>
  <authored-date>2009-08-02T21:38:52-07:00</authored-date>
  <message>Don't pass empty strings for empty file upload inputs.

The values are useless but their presence trips up some plugins.</message>
  <tree>028027959d0359993564885c6725c044973fba32</tree>
  <committer>
    <name>Michael Koziarski</name>
    <email>michael@koziarski.com</email>
  </committer>
</commit>
