Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (137 forks)batch import
enhancementhelp wanted

Métricas do repositório

Stars
 (656 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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') };

Guia do colaborador