78
78
if problem.startswith("..") or problem.startswith(os.sep):
84
84
problemfile = open(problemfile)
85
85
except (TypeError, IOError): # TypeError if problemfile == None
87
86
req.throw_error(req.HTTP_NOT_FOUND)
89
88
# Parse the file into a problem object using the test suite