Allow digits in IPA driver names
Using a driver name with digits prevents unauthenticated passthru calls from going through. Change-Id: I86c596d34729345efb2609f44de8ea6dc014b670 Closes-Bug: #1485012
This commit is contained in:
parent
250cf72c82
commit
45adeedd43
@ -31,7 +31,7 @@ app = {
|
|||||||
'/',
|
'/',
|
||||||
'/v1',
|
'/v1',
|
||||||
# IPA ramdisk methods
|
# IPA ramdisk methods
|
||||||
'/v1/drivers/[a-z_]*/vendor_passthru/lookup',
|
'/v1/drivers/[a-z0-9_]*/vendor_passthru/lookup',
|
||||||
'/v1/nodes/[a-z0-9\-]+/vendor_passthru/heartbeat',
|
'/v1/nodes/[a-z0-9\-]+/vendor_passthru/heartbeat',
|
||||||
# DIB ramdisk methods
|
# DIB ramdisk methods
|
||||||
# NOTE(yuriyz): support URL without 'v1' for backward compatibility
|
# NOTE(yuriyz): support URL without 'v1' for backward compatibility
|
||||||
|
Loading…
x
Reference in New Issue
Block a user