Whitespace in Filenames Causes Issues
オープン
初心者向け
bug
- 主要言語
- Python
- スター
- 1
- フォーク
- 3
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Description:
User inputs (e.g., file or folder names) may have leading or trailing spaces, causing unexpected behavior like file not found or duplicate creation.
Expected:
Use .strip() for every user input() to clean up whitespace.
Tasks:
Apply .strip() to all inputs.
Test folder and file creation using spaced inputs.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Find all uses of `input()` in the codebase and apply `.strip()` to the result. Look for file and folder creation functions to test with inputs containing leading/trailing spaces. Run the existing tests or create a simple script to verify the fix prevents duplicate creation and 'file not found' errors.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 90/100