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:
Mathieu Mitchell 2015-08-14 11:29:15 -04:00
parent 250cf72c82
commit 45adeedd43

View File

@ -31,7 +31,7 @@ app = {
'/',
'/v1',
# 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',
# DIB ramdisk methods
# NOTE(yuriyz): support URL without 'v1' for backward compatibility