Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Bug: Login fails silently for non-Latin-1 credentials (e.g. Korean)

オープン
#374 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript

調査の方向性

Start with the login flow and the code that builds the Axios Basic Auth request; the issue identifies btoa(username + ':' + encodedPassword) as the failure point. Reproduce with a username containing non-Latin-1 characters and check how the login page handles the resulting error. Done means the request no longer fails silently and login either succeeds or shows a clear error.

索引モデルが issue の本文から書いたものです。

説明

Summary

Login fails silently for users whose username contains characters outside Latin-1 (for example, Chinese or Arabic). The request is never sent, and the login page throws a TypeError instead of showing an error.

Steps to reproduce

  1. Create a Pulp user whose username contains non-Latin-1 characters, for example 비밀번호.
  2. Open /ui/login/.
  3. Enter the username and password, then click Log in.
  4. Open the browser console.

Expected behaviour

Login succeeds, or the page shows a clear error message.

Actual behaviour

No groups/ request is sent. The console shows TypeError: Cannot read properties of undefined (reading 'status'). The user stays on the login page with no message.

Axios seems to build the the Basic Auth header with btoa(username + ':' + encodedPassword). Non latin characters are above U+00FF, so btoa throws InvalidCharacterError before the request is sent.

Environment

  • pulp server version: pulpcore 3.112.0
  • axios version: 1.18.0

Additional context

  • Node check: btoa('비밀번호:pass') and btoa('admin:비밀번호') both throw InvalidCharacterError.
主要言語
TypeScript
スター
30
フォーク
22
平均マージ
2日 19時間
マージ済み PR(30日)
17

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pulp/pulp-ui のほかの issue

pulp/pulp-ui の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。