Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for protocol relative url #1097

Closed
nurey opened this issue Jul 10, 2014 · 2 comments
Closed

support for protocol relative url #1097

nurey opened this issue Jul 10, 2014 · 2 comments

Comments

@nurey
Copy link

nurey commented Jul 10, 2014

Seems if I set url to a protocol relative url like "//otherdomain.name/upload_handler" from a site on domain.name, the xhr request is made to domain.name and not otherdomain.name

@nurey
Copy link
Author

nurey commented Jul 11, 2014

here's an example to demonstrate the issue:
http://foo.nurey.com/plupload/examples/custom.html

The url is set to //bar.nurey.com/plupload/examples/upload.php but the request is still made to foo.nurey.com

@wdmtech
Copy link

wdmtech commented Mar 17, 2016

This is happening for me in the latest version, plupload is rewriting the url: option to the request's origin or something it seems - when it should be making a cross-origin request to a third-party API instead.

Possibly related:

#919
#910

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants