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:
David Shrewsbury
2018-01-03 12:08:30 -05:00
parent 1c7d1e1ba1
commit 79a66ddab8
3 changed files with 4 additions and 5 deletions

View File

@@ -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