Skip to content

Commit 04d212b

Browse files
committed
fix(Cookies): fix for IE and Safari
path should not be null, it would extrapolate to "null"
1 parent 51fdea6 commit 04d212b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core_dom/cookies.dart

Lines changed: 1 addition & 1 deletion
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)