Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)JavaScript (137 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (656 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

authHeaderValue = function(username, password) {
    var tok = username + ':' + password;
    var hash = btoa(tok);
    return "Basic " + hash;
};

options.headers = {'Authorization': authHeaderValue('Bob', '1234') };

Guide contributeur