fix: restore SSRF/security protections after glass UI cherry-pick

This commit is contained in:
sagitchu
2026-04-21 09:20:04 +08:00
parent b42516cea1
commit 288c5d7152
+1 -1
View File
@@ -976,7 +976,7 @@ func (h *Handler) updateSingleConfig(w http.ResponseWriter, r *http.Request) {
return
}
if value == "" && name != "app_logo" && name != "app_favicon" && name != "app_bg_image" {
if value == "" && name != "app_logo" && name != "app_favicon" {
response.WriteJSON(w, response.ErrDefault("配置值不能为空"))
return
}