yui/yui3 — pull request #964 by ericf (2013-07-03 20:51:28+00:00)
Title: Fix issue with Router trying to URL-decode `undefined` path segments

When Router is dispatching to a route's callbacks, it URL-decodes the matching path segments so that placeholders like `req.foo` don't have encoded values. Since Router supports registering a route as a Regex, when Router executes that regex it may return an array with some undefined matches. This fixes the issue where Router assumed all items in the array returned from `exec()` are strings.