Skip to content

Commit f64f874

Browse files
committed
fix(Cookies): fix for IE and Safari
path should not be null, it would extrapolate to "null"
1 parent 075a9e6 commit f64f874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core_dom/cookies.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ part of angular.core.dom_internal;
66
*/
77
@Injectable()
88
class BrowserCookies {
9-
String cookiePath;
9+
String cookiePath = '/';
1010

1111
ExceptionHandler _exceptionHandler;
1212
dom.Document _document;

0 commit comments

Comments
 (0)