7xGit / 7xGit/7xGit_Task4

Whitespace in Filenames Causes Issues

オープン 初心者向け
#3 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
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

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

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