Fixed bug with params other than p0

p1 and upwards were not correctly extracted.
This commit is contained in:
Simon Willison 2017-11-24 13:55:00 -08:00
commit ab32bd6427
No known key found for this signature in database
GPG key ID: FBB38AFE227189DB

View file

@ -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'):