Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Console] Various fixes and hardenings#64246

Merged
nicolas-grekas merged 1 commit into
symfony:8.1symfony/symfony:8.1from
nicolas-grekas:81-fixes-consolenicolas-grekas/symfony:81-fixes-consoleCopy head branch name to clipboard
May 18, 2026
Merged

[Console] Various fixes and hardenings#64246
nicolas-grekas merged 1 commit into
symfony:8.1symfony/symfony:8.1from
nicolas-grekas:81-fixes-consolenicolas-grekas/symfony:81-fixes-consoleCopy head branch name to clipboard

Conversation

@nicolas-grekas
Copy link
Copy Markdown
Member

Q A
Branch? 8.1
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

Comment thread src/Symfony/Component/Console/Attribute/MapInput.php Outdated
Comment on lines -166 to -167
// Check for: < (tags), \033 (ANSI escape), ]8;; (terminal hyperlink)
if (!str_contains($string, '<') && !str_contains($string, "\033") && !str_contains($string, ']8;;')) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why the check on ]8;; is removed?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

because !str_contains(\033) already does the job, hyperlinks do contain one

@nicolas-grekas nicolas-grekas merged commit 4d9a0bc into symfony:8.1 May 18, 2026
7 of 10 checks passed
@nicolas-grekas nicolas-grekas deleted the 81-fixes-console branch May 19, 2026 08:53
@fabpot fabpot mentioned this pull request May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.