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

nil guards in request_data_extractor #637

Merged
merged 2 commits into from
Sep 18, 2017
Merged

nil guards in request_data_extractor #637

merged 2 commits into from
Sep 18, 2017

Conversation

rokob
Copy link
Contributor

@rokob rokob commented Sep 14, 2017

Fixes #633

Empty strings cause a bug where a nil comes out of split.first:

" ".split(',').first == " "
"".split(',').first == nil

@rokob rokob merged commit 7d51701 into master Sep 18, 2017
@waltjones waltjones deleted the fix-split-host branch June 27, 2023 18:10
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.

1 participant