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

API v1 allow multiple slashes in the path before "api" #9195

Merged
merged 1 commit into from Jan 26, 2024

Conversation

vbaranov
Copy link
Member

@vbaranov vbaranov commented Jan 19, 2024

Resolves #9194

Motivation

//api/v1 path is prohibited.

Changelog

Allow multiple slashes in the path before "api" for api v1 requests in order to make requests like this workable:

curl -s "http://localhost:4000//api/v1?module=contract&action=listcontracts&offset=1"

Checklist for your Pull Request (PR)

@vbaranov vbaranov force-pushed the vb-api-v1-allow-multiple-slash branch from 0f6bb79 to 795590a Compare January 26, 2024 11:34
@vbaranov vbaranov merged commit 44de6e6 into master Jan 26, 2024
38 of 41 checks passed
@vbaranov vbaranov deleted the vb-api-v1-allow-multiple-slash branch January 26, 2024 12:08
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

Successfully merging this pull request may close these issues.

//api/v1 path is prohibited
2 participants