Skip to content

Query (search) string in URL results in 404 #1

@WofWca

Description

@WofWca

I believe it's this piece of code:

const url = new URL(request.url);
url.hash = "";
const asset = await db.getItem(url.toString());

If you go to /index.html, everything is working fine. But if you go to /index.html?something=, then you get to the "upload file" page.
This affects the "Try It" button with the "Quake III Arena" app (webxdc/website#130, https://support.delta.chat/t/run-webxdc-apps-in-the-browser-we-added-try-it-button-to-the-app-store/4445?u=wofwca)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions