Skip to content

[WIP] 申請のファイル拡張子の正規表現をエスケープするか、お知らせを出す #697

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Aug 3, 2025

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.

Original issue description:

例えば . と入れると、任意の文字が許可される。
エスケープするか、通常含める必要がない旨のお知らせを出す。

const regex = new RegExp(
  `\\.(${props.extensions.join("|")})$`,
  "i",
);

Fixes #668.


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

申請のファイル拡張子の正規表現をエスケープするか、お知らせを出す
2 participants