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

Entrypoint trailling slash is stripped from original entrypoint fetch. #113

Open
jvasseur opened this issue May 16, 2022 · 0 comments
Open

Comments

@jvasseur
Copy link

API doc parser version(s) affected: 0.15.1

Description

Since the entrypoint prefix is stripped here it means that the request to fetch the API doc is made to the URL without this slash.

It means that in the case were the API only replies to the URL with the slash the request will fails and the admin won't load.

How to reproduce

Create an Admin with an entrypoint that ends with a slash and an API that returns a error when the request is done without this slash.

Possible Solution

Since the slash is removed intentionally we need to keep it, but maybe we could keep the original supplied URL for the original fetch of the entry point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant