Skip to content

[8.x] Fix Str::Mask() for repeating chars#42956

Merged
taylorotwell merged 1 commit into
laravel:8.xfrom
BrandonSurowiec:backport-str-mask
Jun 27, 2022
Merged

[8.x] Fix Str::Mask() for repeating chars#42956
taylorotwell merged 1 commit into
laravel:8.xfrom
BrandonSurowiec:backport-str-mask

Conversation

@BrandonSurowiec

Copy link
Copy Markdown
Contributor

Backport of #42295 for version 8.x. Fixes #42867.

- Add some additional test cases to verify behaviour for
  more than 2 repeating characters.
- Add some cases for testing the masking from the start of
  the string, before the start of the string and end of string.

(cherry picked from commit a917528)
@taylorotwell
taylorotwell merged commit b32193b into laravel:8.x Jun 27, 2022
@BrandonSurowiec
BrandonSurowiec deleted the backport-str-mask branch June 27, 2022 15:43
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.

3 participants