title: jQuery blueimp File Upload won't delete over ssl
body: <p>I am using the plugin found here: <a href="https://github.com/blueimp/jQuery-File-Upload" rel="nofollow">https://github.com/blueimp/jQuery-File-Upload</a></p>
  
  <p>I initialize it like so:</p>
  
  <pre><code>$('#fileupload').fileupload({
      formData: {task: taskId},
      url: '/file'
  });
  </code></pre>
  
  <p>It seems that everything works except deletion.  When I try to delete a file, the request goes over HTTP instead of HTTPS even though the entire site uses SSL.</p>
  
  <p><strong>Update</strong>:</p>
  
  <p>It looks like whenever a file is loaded as an "existing" file (either when the plugin is initialized or a file is successfully uploaded), the delete button for that row is has an attribute called <code>data-url</code> that has "http://" in it like so:</p>
  
  <pre><code>&lt;button class="btn btn-danger delete" data-type="DELETE" data-url="http://mysite.com/file?file=test.pdf&amp;amp;hash=cd8d4d2dd2a9028cfc533b70b05f70329c288500"&gt;
      &lt;i class="icon-trash icon-white"&gt;&lt;/i&gt;
      &lt;span&gt;Delete&lt;/span&gt;
  &lt;/button&gt;
  </code></pre>
  
  <p>Anybody know where this gets loaded from?</p>