Skip to content

History Hash's parseHash() does not handle blank values - #1116

Merged
rgrove merged 4 commits into
yui:dev-masterfrom
blzaugg:patch-HistoryHash-blank-values
Aug 22, 2013
Merged

History Hash's parseHash() does not handle blank values#1116
rgrove merged 4 commits into
yui:dev-masterfrom
blzaugg:patch-HistoryHash-blank-values

Conversation

@blzaugg

@blzaugg blzaugg commented Aug 20, 2013

Copy link
Copy Markdown
Contributor

Hash strings such as: #foo=bar&baz=&qu=ux or #foo=bar&baz&qu=ux fail because _REGEX_HASH does not allow blank values.

@blzaugg

blzaugg commented Aug 20, 2013

Copy link
Copy Markdown
Contributor Author

@rgrove new pull with your suggested changes.

@rgrove

rgrove commented Aug 20, 2013

Copy link
Copy Markdown
Contributor

@blzaugg 👍 Looks good to me, thanks!

I'll leave this open for a while to allow other folks time to comment, then I'll merge if there are no further objections.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

+1 for default to an empty string for the value.

@ericf

ericf commented Aug 21, 2013

Copy link
Copy Markdown
Member

LGTM. @blzaugg thanks for include tests and HISTORY updates, makes the merge nice and easy :)

@rgrove
rgrove merged commit dcd509d into yui:dev-master Aug 22, 2013
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