Skip to content

escaped characters in url #273

@LarsKoeppel

Description

@LarsKoeppel

Hi,

i am trying to use the token authentication from bunny to access my data. They have a version that uses URL path based tokens, so that the token is inside of the path.
https://docs.bunny.net/docs/cdn-token-authentication#url-path-based-tokens

In theory, this should be working, but TensorStore converts the escaped characters back into normal slashes.
For example:

https://hostname.com/bcdn_token=<token>&expires=1767838183&token_path=%2F<authorized_path>/<path_to_dataset>
%2F gets converted to /, resulting in a URL like:
https://hostname.com/bcdn_token=<token>&expires=1767838183&token_path=/<authorized_path>/<path_to_dataset>

This results in a different URL. Is there a way to prevent the conversion of these escaped characters?
Best regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions