Skip to content

New base64 upgrade redirect mode causes infinite redirect loop #67

@simonw

Description

@simonw

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

def check_for_base64_upgrade(queries):
# Strip of the timing bit if there is one
queries = [q.split(":")[0] for q in queries]
# If every query is base64-encoded JSON, return a new querystring
if not all(is_valid_base64_json(query) for query in queries):
return

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions