@@ -222,15 +222,13 @@ class Test_CustomBlockingResponse:
222
222
def setup_custom_status_code (self ):
223
223
self .r_cst = weblog .get ("/waf/" , headers = {"User-Agent" : "Canary/v1" })
224
224
225
- @bug (context .library == "[email protected] " , reason = "APPSEC-56056" )
226
225
def test_custom_status_code (self ):
227
226
"""Block with a custom HTTP status code"""
228
227
assert self .r_cst .status_code == 401
229
228
230
229
def setup_custom_redirect (self ):
231
230
self .r_cr = weblog .get ("/waf/" , headers = {"User-Agent" : "Canary/v2" }, allow_redirects = False )
232
231
233
- @bug (context .library == "[email protected] " , reason = "APPSEC-56056" )
234
232
def test_custom_redirect (self ):
235
233
"""Block with an HTTP redirection"""
236
234
assert self .r_cr .status_code == 301
@@ -239,7 +237,6 @@ def test_custom_redirect(self):
239
237
def setup_custom_redirect_wrong_status_code (self ):
240
238
self .r_cr = weblog .get ("/waf/" , headers = {"User-Agent" : "Canary/v3" }, allow_redirects = False )
241
239
242
- @bug (context .library == "[email protected] " , reason = "APPSEC-56056" )
243
240
def test_custom_redirect_wrong_status_code (self ):
244
241
"""Block with an HTTP redirection but default to 303 status code, because the configured status code is not a valid redirect status code"""
245
242
assert self .r_cr .status_code == 303
0 commit comments