Commit 7cad1eda authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor bug fix to regex in osid.info.

parent b4fbd3ae
#! /usr/bin/env python
#
# EMULAB-COPYRIGHT
# Copyright (c) 2004-2009 University of Utah and the Flux Group.
# Copyright (c) 2004-2010 University of Utah and the Flux Group.
# All rights reserved.
#
import sys
......@@ -932,7 +932,7 @@ class osid:
if (argerror):
return argerror
if not re.match("^[-\w]*$", argdict["osid"]):
if not re.match("^[-\w\.]*$", argdict["osid"]):
return EmulabResponse(RESPONSE_BADARGS,
output="Improperly formed osid!")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment