-
Notifications
You must be signed in to change notification settings - Fork 128
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
Basic Auth #38
Comments
I found a woring solution following changes work for me I changed every XMLHttpRequest ( bootstrap.js ,CordovaAppLoader.js, CordovaPromise.js ) to
If its ok , i would send a PR Regards P.s I m not sure if i missed something could only test on Android yet |
Unfortunately the poor mans url parser does not work on ios i switched to http://blog.stevenlevithan.com/archives/parseuri for parsing the urls |
+1 |
Whenever you got something on your side send a PR. |
URLS with basic auth. are not working right
like https://username:password@domain/mainfest.json
Found one issue in the bootstrap.js
xhr.setRequestHeader("Authorization", "Basic ...);
is missing.
Also the cordova file loader does not set the right headers for downloading
options.headers = {'Authorization': authHeaderValue('Bob', '1234') };
The text was updated successfully, but these errors were encountered: