Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/shared/src/terminal-link-parsing/link-parsing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ enum RegexPathConstants {
PathPrefix = "(?:\\.\\.?|\\~|file:\\/\\/)",
PathSeparatorClause = "\\/",
// '":; are allowed in paths but they are often separators so ignore them
// Also disallow \\ to prevent a catastropic backtracking case #24795
// Also disallow \\ to prevent a catastrophic backtracking case #24795
ExcludedPathCharactersClause = "[^\\0<>\\?\\s!`&*()'\";:\\\\]",
ExcludedStartPathCharactersClause = "[^\\0<>\\?\\s!`&*()\\[\\]'\";:\\\\]",

Expand Down
Loading