From ab32bd64272886440c92c2fff846faa35b761158 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 24 Nov 2017 13:55:00 -0800 Subject: [PATCH] Fixed bug with params other than p0 p1 and upwards were not correctly extracted. --- datasette/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datasette/app.py b/datasette/app.py index 192b2303..f0139a44 100644 --- a/datasette/app.py +++ b/datasette/app.py @@ -315,7 +315,7 @@ async def favicon(request): class DatabaseView(BaseView): template = 'database.html' - re_named_parameter = re.compile(':([a-zA-Z0-0_]+)') + re_named_parameter = re.compile(':([a-zA-Z0-9_]+)') async def data(self, request, name, hash): if request.args.get('sql'):