jQuery blueimp File Upload won't delete over ssl -


i using plugin found here: https://github.com/blueimp/jquery-file-upload

i initialize so:

$('#fileupload').fileupload({     formdata: {task: taskid},     url: '/file' }); 

it seems works except deletion. when try delete file, request goes on http instead of https though entire site uses ssl.

update:

it looks whenever file loaded "existing" file (either when plugin initialized or file uploaded), delete button row has attribute called data-url has "http://" in so:

<button class="btn btn-danger delete" data-type="delete" data-url="http://mysite.com/file?file=test.pdf&amp;hash=cd8d4d2dd2a9028cfc533b70b05f70329c288500">     <i class="icon-trash icon-white"></i>     <span>delete</span> </button> 

anybody know gets loaded from?

you need change server side, delete url specified.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -