解决部分因策略相互影响导致的策略不生效问题
This commit is contained in:
@@ -193,7 +193,7 @@ SecurityPolicy-Deny-Http-00013
|
||||
SecurityPolicy-Deny-Http-00014
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00014.bat
|
||||
... ELSE set variable curl -H "Content-Type:application/json;charset=UTF-8" -X POST -d "{"requestbody":"1234567","setcook":"12345678","contenttype": "content-type","responsebody": "Response Body"}" http://open.node.com/go
|
||||
... ELSE set variable curl -H "Content-Type:application/json;charset=UTF-8" -X POST -d "{"requestbody":"testDenyHttp0014","setcook":"12345678","contenttype": "content-type","responsebody": "testDenyHttp0014"}" http://open.node.com/go
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List Not Found
|
||||
... ELSE Create List Connection reset by peer
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
@@ -203,7 +203,7 @@ SecurityPolicy-Deny-Http-00014
|
||||
${rescode} UpdatePolicies 1 ${policyDict} v2 update
|
||||
Comment 功能端验证HTTP验证
|
||||
${commandstr} run keyword if '${systemType}'=='Windows' set variable ${curlbatpath}/command/SecurityPolicy_Deny_HTTP_00014.bat
|
||||
... ELSE set variable curl -H "Content-Type:application/json;charset=UTF-8" -X POST -d "{"requestbody":"1234567","setcook":"12345678","contenttype": "content-type","responsebody": "Response Body"}" http://open.node.com/go
|
||||
... ELSE set variable curl -H "Content-Type:application/json;charset=UTF-8" -X POST -d "{"requestbody":"biubiubiud","setcook":"12345678","contenttype": "content-type","responsebody": "biubiubiud"}" http://open.node.com/go
|
||||
${stringlist} run keyword if '${systemType}'=='Windows' Create List Not Found
|
||||
... ELSE Create List Connection reset by peer
|
||||
${rescode} SystemCommands ${commandstr} ${stringlist}
|
||||
|
||||
Reference in New Issue
Block a user