Strip \r from build UUID in fingergw
Without stripping this, we won't be able to match UUIDs. Change-Id: I06b98b7f883433313304bfc3bb21edd5725b94e6
This commit is contained in:
@@ -56,8 +56,6 @@ class RequestHandler(streamer_utils.BaseFingerRequestHandler):
|
||||
self.request.sendall(msg.encode("utf-8"))
|
||||
return
|
||||
|
||||
build_uuid = build_uuid.rstrip()
|
||||
|
||||
# validate build ID
|
||||
if not re.match("[0-9A-Fa-f]+$", build_uuid):
|
||||
msg = 'Build ID %s is not valid' % build_uuid
|
||||
|
||||
Reference in New Issue
Block a user