Hardcoded relative url 'async-upload.php' in plupload/handlers.js
|Reported by:||drozdz||Owned by:|
On line 127 in plupload/handlers.js you can find relative path to 'async-upload.php'.
It rather should use wpUploaderInit.url (or something like that), so you could use WP Plupload in front-end for example or with your custom uploading scripts.
Now you can write your custom uploader script and provide it via wpUploaderInit, but on that line in handlers.js it is ignored (and if you run it in front-end, bad request to ./async-upload.php is made).