Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mandatory base URL support in config #342

Open
joshtriplett opened this issue May 9, 2022 · 1 comment
Open

Mandatory base URL support in config #342

joshtriplett opened this issue May 9, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@joshtriplett
Copy link
Member

I'd like to set a flag in Config that forces the resulting Client to only use URIs relative to the specified base URI, and never support absolute URIs.

This would add security when providing authentication: the config could add_header a header containing authentication information, and also set a mandatory base URI to ensure that the Client can't accidentally pass that authentication information to any other domain.

@joshtriplett
Copy link
Member Author

#343

@Fishrock123 Fishrock123 added the enhancement New feature or request label May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants