hi folks, is there anyone know how to handle request.args string value contain a space?
e.g. models/menu.py if request.controller=='default': response.menu = [ (T('Home'), False, URL('default', 'index'), []), ] services = db(db.service).select(orderby=db.service.id) services_menu = [] for service in services: services_menu.append((T(service.title), False, URL('default', 'service', args=service.title))) response.menu += [ (T('Service'), False, None, services_menu) ] controllers/default.py def service(): row=db.service(db.service.title==request.args(0)) or redirect(URL('index')) return dict(row=row) code above is work fine, only if the request.args(0) value doesn't contain a space, but if contain a space it become checkmate, lol. any recommendation, solution or advice how to solve this? thank you very much before -- --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.