Skip to content

[match] strip nbsp; from return of phone 2fa#30004

Merged
iBotPeaches merged 1 commit into
masterfrom
issue-30001
May 21, 2026
Merged

[match] strip nbsp; from return of phone 2fa#30004
iBotPeaches merged 1 commit into
masterfrom
issue-30001

Conversation

@iBotPeaches

@iBotPeaches iBotPeaches commented Apr 29, 2026

Copy link
Copy Markdown
Member

Problem

Apple's return sometimes has a nbsp; in place of a plain space, so our regex fails.

Solution

Its tough to see in GitHub review, but now we check for a space or nbsp. We could probably enhance this in future to a gsub with a more robust regex, but this will do for now.

fixes: #30001
fixes (?): #21721

@iBotPeaches iBotPeaches changed the title [match] stripe nbsp; from return of phone 2fa [match] strip nbsp; from return of phone 2fa Apr 29, 2026
@iBotPeaches iBotPeaches merged commit 75344b6 into master May 21, 2026
14 checks passed
@iBotPeaches iBotPeaches deleted the issue-30001 branch May 21, 2026 10:21

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey @iBotPeaches 👋

Thank you for your contribution to fastlane and congrats on getting this pull request merged 🎉
The code change now lives in the master branch, however it wasn't released to RubyGems yet.
We usually ship about once a month, and your PR will be included in the next one.

Please let us know if this change requires an immediate release by adding a comment here 👍
We'll notify you once we shipped a new release with your changes 🚀"

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Congratulations! 🎉 This was released as part of fastlane 2.235.0 🚀

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.

Phone Number Matcher does not respect NBSP

2 participants