jenkinsci / jenkinsci/java-client-api

jenkins auth with Chinese Character failed

Aperta
#437 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
913
Fork
466
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

error is as follows:
Exception in thread "main" org.apache.http.client.HttpResponseException: Invalid password/token for user: ???

I check the source code, the jenkins http client use ascii as default charset when using basic auth, I think it should be modified to use more conveniently.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start at the Jenkins HTTP client's basic-auth handling and inspect how the username and password are encoded before the request is sent. Reproduce the failure with Chinese-character credentials, then add coverage showing that non-ASCII authentication succeeds without changing existing ASCII behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java
Ambito
authentication
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.