Tue Aug 23 22:20:18 UTC 2005 Alberto Bertogli <albertogli@telpin.com.ar>
* Allow underscores in action names.
{
hunk ./darcsweb.cgi 37
-allowed_alphanum = string.ascii_letters + string.digits
-def filter_an(s):
- l = [c for c in s if c in allowed_alphanum]
+allowed_in_action = string.ascii_letters + string.digits + '_'
+def filter_act(s):
+ l = [c for c in s if c in allowed_in_action]
hunk ./darcsweb.cgi 1265
- action = filter_an(form["a"].value)
+ action = filter_act(form["a"].value)
}