Skip to content

Commit

Permalink
Update Router's HISTORY for coercing NPCG undefineds to empty strings
Browse files Browse the repository at this point in the history
  • Loading branch information
ericf committed Aug 12, 2013
1 parent e320cc3 commit 8ca52d6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app/HISTORY.md
Expand Up @@ -13,13 +13,16 @@ App Framework Change History
### Router

* Fixed issue with trying to URL-decode matching path segments that are
`undefined`. Routes defined as Regexps (instead of strings) can contain an
`undefined`. Routes defined as regexps (instead of strings) can contain an
arbitrary number of captures; when executing the regex during dispatching, its
array of matches can contain `undefined` values. Router will now check that a
match is a truthy value before trying to URL-decode it.
match is a truthy value before trying to URL-decode it, and coerce `undefined`
values to empty strings. ([#964][], [#1076][])


[#964]: https://github.com/yui/yui3/issues/964
[#1004]: https://github.com/yui/yui3/issues/1004
[#1076]: https://github.com/yui/yui3/issues/1076


3.11.0
Expand Down

0 comments on commit 8ca52d6

Please sign in to comment.