It is sort of unorthodox to have commas in the path section of your URL unless you have code to specially deal with it and you're using it as a separator for something.
So I'm guessing the regex in the examples doesn't consider the comma and you have to change it. So change something like this: routes_in=( (r'/static/(?P<file>[\w./-]+)', r'/init/static/\g<file>') ) to: routes_in=( (r'/static/(?P<file>[\w,./-]+)', r'/init/static/\g<file>') ) My suggestion would be **not to do this**, and change the names of the files to have no commas, static files are not user uploads, and should be controlled by you. Segunda-feira, 11 de Novembro de 2013 15:29:34 UTC, John Felps escreveu: > > I have edited routes.parametric.example.py and saved as web2py/routes.py > with the default application as myapp. I have some html files in static > that now can be accessed as > > > http://ip/myapp/static/dir/test.html or > http://ip/static/dir/test.html > however, a couple of files have commas in the filename. They work when > using > > http://ip/myapp/static/dir/test,name.html > > but not with > > http://ip/static/dir/test,name.html > > They return "Invalid Request" in this case. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

