Skip to content

Bug Hunt: empty string key causes incorrect validation#325

Merged
hueniverse merged 1 commit intohapijs:masterfrom
jaswilli:with-without-empty-key
May 22, 2014
Merged

Bug Hunt: empty string key causes incorrect validation#325
hueniverse merged 1 commit intohapijs:masterfrom
jaswilli:with-without-empty-key

Conversation

@jaswilli
Copy link
Contributor

Passing an empty string, which is a valid property name, to Joi.object().with or Joi.object().without causes incorrect validation results.

@jaswilli jaswilli changed the title failing tests for empty string key on with/without Bug Hunt: failing tests for empty string key on with/without May 17, 2014
@jaswilli jaswilli changed the title Bug Hunt: failing tests for empty string key on with/without Bug Hunt: empty string key causes incorrect validation May 17, 2014
hueniverse pushed a commit that referenced this pull request May 22, 2014
Bug Hunt: empty string key causes incorrect validation
@hueniverse hueniverse merged commit 0c3171b into hapijs:master May 22, 2014
@hueniverse hueniverse added the bug label May 22, 2014
@hueniverse hueniverse added this to the 4.3.0 milestone May 22, 2014
@hueniverse hueniverse self-assigned this May 22, 2014
hueniverse pushed a commit that referenced this pull request May 22, 2014
@hueniverse
Copy link
Contributor

Confirmed. $50

@jaswilli jaswilli deleted the with-without-empty-key branch May 22, 2014 14:14
@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Bug or defect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants