notification
notification copied to clipboard
创建notification接口,设置address_info为已删除或不存在的addresslist,未进行校验控制
POST /v1/notifications 接口,设置address_info为已删除或不存在的addresslist: { "content_type": "other", "title": "test_title", "content":"{"html":"test_content_html", "normal":"test_content_normal"}", "owner": "KubeSphere", "address_info": "["adl-111"]" }
未进行校验控制,可以成功调用
fix
在新版本中验证,该问题依然存在
fix
我现在解决方案是如果address_info中有一个id为不存在的信息,我将结束整个流程。这样可以么?