Note that there are some explanatory texts on larger screens.

plurals
  1. POChrome fails with drag and drop after an https php header redirect
    primarykey
    data
    text
    <p>I have some code. It works... then I add in a php httpS (secure) header redirect at the top. refresh the code again and now it fails. It just doesn't accept any file as drag and drop. I can clear cache, clear cookies do anything I want... it will no longer work.</p> <p>I have to restart chrome with the lines commented out and then it works again. Why ?</p> <pre><code>&lt;?php //header( "Location: ". 'https://127.0.0.1/blank.htm' );die; /* uncomment this line to make it fail */ // it MUST be a "secure" redirect to make it fail ?&gt; &lt;!DOCTYPE html&gt; &lt;html lang="en"&gt; &lt;head&gt; &lt;meta charset="utf-8"&gt; &lt;title&gt;blah&lt;/title&gt; &lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&gt; &lt;meta name="description" content="TestAuditor testing quality management"&gt; &lt;meta name="author" content="The TestAuditor Team"&gt; &lt;link href="CSS/dropzone.css" rel="stylesheet"&gt; &lt;/head&gt; &lt;body&gt; &lt;div class="span6"&gt; &lt;div id="dropzone" class="fade well ui-corner-all"&gt;Drop files here&lt;/div&gt; &lt;/div&gt; &lt;script src="JS/jquery-1.9.0.js"&gt;&lt;/script&gt; &lt;script src="JS/jquery.filedrop.js"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; //----------------------- $(document).ready(function () { $('#dropzone').show().filedrop( { fallback_id: '', url: 'AnyUploadFileManager.php', paramname: 'userfile', withCredentials: true, allowedfiletypes: [], maxfiles: 250, maxfilesize: 20, drop: function() { }, uploadFinished: function(i, file, response, time) {alert('done'); }, beforeSend: function(file, i, done) {done(); } }); }); //----------------------- &lt;/script&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload