Skip to content
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

fix: handle utf-8 strings correctly in the link detection #10771

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

st3iny
Copy link
Member

@st3iny st3iny commented Feb 27, 2025

More hardening regarding multibyte (utf-8) characters.

Regex proof: https://regex101.com/r/zPv0vh/1 (is covered by unit tests)

@st3iny st3iny self-assigned this Feb 27, 2025
@st3iny st3iny added this to the v4.3.0 milestone Feb 27, 2025
@st3iny
Copy link
Member Author

st3iny commented Feb 27, 2025

/backport to stable4.2

@st3iny st3iny force-pushed the fix/link-handling-phishing-detection branch from 1bade36 to d219cee Compare February 27, 2025 21:12
Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

Makes sense! Awesome to have this unit tested with the real-world data 👏

@ChristophWurst ChristophWurst merged commit b1924fe into main Feb 27, 2025
35 checks passed
@ChristophWurst ChristophWurst deleted the fix/link-handling-phishing-detection branch February 27, 2025 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ☑️ Done
Development

Successfully merging this pull request may close these issues.

2 participants