Skip to content

Allow dataset_id to contain URL-encoded forward slashes (%2f) #302

@matrss

Description

@matrss

I'd like to use slashes to denote a hierarchy within dataset_ids. Literal slashes can't be used because of how the routes are constructed. Normally this is what URL-encoding is for, but FastAPI and/or the layers below have a bug that uses %2f for routing decisions. There doesn't seem to be any progress in fixing this bug properly, but there is a workaround for FastAPI users: fastapi/fastapi#7328 (comment)

I think this workaround should be implemented in xpublish.

More on this topic:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions