How would you validate it anyway? It's already a string...
db._refresh()
formdata = web.input()
user_regexp = formdata['regexp']
- regexp = re.compile(self.validate_string(user_regexp), 'I') # Case insensitive
+ regexp = re.compile(user_regexp, 'I') # Case insensitive
path = dgen.door_warning(lambda r: regexp.match(r['Location']))
print file(path, 'rb').read() ,
- def validate_string(self, string): # work in progress
- return string
class login (object) :
"Print an alphabetized index of all existing pages"