yui/yui3 — pull request #963 by ericf (2013-07-03 20:49:33+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.