Skip to content

Commit db12c85

Browse files
fix($urlMatcherFactory): empty string policy now respected in Param.value()
1 parent 3045e41 commit db12c85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/urlMatcherFactory.js

+1
Original file line numberDiff line numberDiff line change
@@ -883,6 +883,7 @@ function $UrlMatcherFactory() {
883883
* default value, which may be the result of an injectable function.
884884
*/
885885
function $value(value) {
886+
if (value === "") value = self.emptyString;
886887
return isDefined(value) ? self.type.decode(value) : $$getDefaultValue();
887888
}
888889

0 commit comments

Comments
 (0)