diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c632000..f45ff708 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # developing - [Fix issue 4961, `leafInfo.match()` use `path.join()` to deal with `wildcardValues`, which may lead to cross directory risk ](https://github.com/beego/beego/pull/4964) - [Fix 4975: graceful server listen the specific address](https://github.com/beego/beego/pull/4979) +- [Fix 4976: make admin serve HTTP only](https://github.com/beego/beego/pull/4980) # v2.0.3 - [upgrade redisgo to v1.8.8](https://github.com/beego/beego/pull/4872) - [fix prometheus CVE-2022-21698](https://github.com/beego/beego/pull/4878) diff --git a/server/web/admin.go b/server/web/admin.go index 66ba3396..285f7feb 100644 --- a/server/web/admin.go +++ b/server/web/admin.go @@ -101,6 +101,7 @@ func registerAdmin() error { // copy config to avoid conflict adminCfg := *BConfig + adminCfg.Listen.EnableHTTPS = false beeAdminApp = &adminApp{ HttpServer: NewHttpServerWithCfg(&adminCfg), }