Skip to content

TURBOPACK: add & as escape character#146

Merged
fireairforce merged 1 commit into
utoofrom
add-escape-character
May 7, 2026
Merged

TURBOPACK: add & as escape character#146
fireairforce merged 1 commit into
utoofrom
add-escape-character

Conversation

@fireairforce
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the escape_file_path function to include the ampersand character in the list of characters replaced by underscores. Feedback suggests further expanding the regex to include backslashes, asterisks, and pipes to prevent potential path traversal issues and improve compatibility with Windows and shell environments.

Comment thread turbopack/crates/turbopack-core/src/ident.rs
@fireairforce fireairforce force-pushed the add-escape-character branch from 10c90fe to 996cf54 Compare May 7, 2026 06:17
@fireairforce fireairforce changed the title TURBOPACK: add & as ecapce character TURBOPACK: add & as escape character May 7, 2026
@fireairforce fireairforce merged commit fd114ac into utoo May 7, 2026
14 of 27 checks passed
yuzheng14 pushed a commit that referenced this pull request May 26, 2026
yuzheng14 pushed a commit that referenced this pull request May 26, 2026
yuzheng14 pushed a commit that referenced this pull request May 26, 2026
yuzheng14 pushed a commit that referenced this pull request May 26, 2026
yuzheng14 pushed a commit that referenced this pull request May 26, 2026
yuzheng14 pushed a commit that referenced this pull request May 26, 2026
yuzheng14 pushed a commit that referenced this pull request May 26, 2026
yuzheng14 pushed a commit that referenced this pull request May 26, 2026
yuzheng14 pushed a commit that referenced this pull request May 26, 2026
yuzheng14 pushed a commit that referenced this pull request May 26, 2026
yuzheng14 pushed a commit that referenced this pull request May 26, 2026
yuzheng14 pushed a commit that referenced this pull request May 27, 2026
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.

1 participant