From 5f091921afeaa69fd4274eae868fb9e387a85f75 Mon Sep 17 00:00:00 2001 From: zh199225 Date: Fri, 20 Aug 2021 09:28:16 +0800 Subject: [PATCH] Update CHANGELOG.md When the URL is end with "/", and the parameter "Path" of Cookie() Function is "", the "Path" of cookie that set in browser will not be the default value "/"., I think it's incorrect. When the URL is not end with "/", it's correct. --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cbbbc514..6e42b35c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -60,6 +60,7 @@ - fix bug:reflect.ValueOf(nil) in getFlatParams [4715](https://github.com/beego/beego/pull/4715) - Fix 4736: set a fixed value "/" to the "Path" of "_xsrf" cookie. [4736](https://github.com/beego/beego/issues/4735) - Fix 4734: do not reset id in Delete function. [4738](https://github.com/beego/beego/pull/4738) +- Fix 4739: set a default value "/" for "Path" in the Cookie function when there is not parameter "Path" or the parameter is "". [4739](https://github.com/beego/beego/issues/4739) ## Fix Sonar