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

(maint) Add missing string split options #661

Merged
merged 2 commits into from
Sep 10, 2020

Conversation

AdmiringWorm
Copy link
Member

Due to a use case not being considered, trailing spaces, multiple spaces and prefixed spaces causes an exception to occur.
This pull request adds a StringSplitOptions.None to all split operations to prevent this from happening.

Copy link
Member

@gep13 gep13 left a comment

Choose a reason for hiding this comment

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

LGTM!

@gep13 gep13 merged commit c3c4827 into cake-contrib:develop Sep 10, 2020
@gep13
Copy link
Member

gep13 commented Sep 10, 2020

@AdmiringWorm thanks for doing this!

@gep13 gep13 added this to the 2.0.0 milestone Sep 10, 2020
@gep13 gep13 added the Bug label Sep 10, 2020
@AdmiringWorm AdmiringWorm deleted the ignore-empty-splits branch September 10, 2020 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants