simonw / django-sql-dashboard

Django app for building dashboards using raw SQL queries
https://django-sql-dashboard.datasette.io/
Apache License 2.0
437 stars 37 forks source link

New base64 upgrade redirect mode causes infinite redirect loop #67

Closed simonw closed 3 years ago

simonw commented 3 years ago

I think because if there is no ?sql= at all you get redirected:

https://github.com/simonw/django-sql-dashboard/blob/1a3801ea00d51b916049d08b678072d771853264/django_sql_dashboard/utils.py#L76-L81