jenkinsci / jenkinsci/java-client-api

jenkins auth with Chinese Character failed

Abierto
#437 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
913
Forks
466
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java
Área
authentication
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.