notification icon indicating copy to clipboard operation
notification copied to clipboard

创建notification接口,设置address_info为已删除或不存在的addresslist,未进行校验控制

Open liuyp2018 opened this issue 5 years ago • 3 comments

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"]" }

未进行校验控制,可以成功调用

liuyp2018 avatar Aug 02 '19 10:08 liuyp2018

fix

huojiao2006 avatar Aug 08 '19 07:08 huojiao2006

在新版本中验证,该问题依然存在

liuyp2018 avatar Aug 15 '19 06:08 liuyp2018

fix

我现在解决方案是如果address_info中有一个id为不存在的信息,我将结束整个流程。这样可以么?

l1ch40 avatar Mar 12 '20 14:03 l1ch40