From 8ca52d6d396c4984fa36f10e8e2f45e8d46bb891 Mon Sep 17 00:00:00 2001 From: Eric Ferraiuolo Date: Mon, 12 Aug 2013 14:31:33 -0400 Subject: [PATCH] Update Router's HISTORY for coercing NPCG `undefined`s to empty strings --- src/app/HISTORY.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/HISTORY.md b/src/app/HISTORY.md index 6ae936bd86e..43345faf171 100644 --- a/src/app/HISTORY.md +++ b/src/app/HISTORY.md @@ -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