From db12c85c16f2d105415f9bbbdeb11863f64728e0 Mon Sep 17 00:00:00 2001 From: christopherthielen Date: Sun, 9 Nov 2014 17:54:31 -0600 Subject: [PATCH] fix($urlMatcherFactory): empty string policy now respected in Param.value() --- src/urlMatcherFactory.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/urlMatcherFactory.js b/src/urlMatcherFactory.js index 4de734ffc..de9d7ba47 100644 --- a/src/urlMatcherFactory.js +++ b/src/urlMatcherFactory.js @@ -883,6 +883,7 @@ function $UrlMatcherFactory() { * default value, which may be the result of an injectable function. */ function $value(value) { + if (value === "") value = self.emptyString; return isDefined(value) ? self.type.decode(value) : $$getDefaultValue(); }