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

swagger: curl /swagger/* return 404 if swagger server is disabled #6786

Closed
bufferflies opened this issue Jul 12, 2023 · 0 comments · Fixed by #6785
Closed

swagger: curl /swagger/* return 404 if swagger server is disabled #6786

bufferflies opened this issue Jul 12, 2023 · 0 comments · Fixed by #6785
Assignees
Labels
affects-6.5 affects-7.1 severity/minor The issue's severity is minor. type/bug The issue is confirmed as a bug. type/enhancement The issue belongs to an enhancement.

Comments

@bufferflies
Copy link
Contributor

Enhancement Task

In past, it returns 200 if swager server is disabled. some user thinks this urls are not safe.
image

@bufferflies bufferflies added the type/enhancement The issue belongs to an enhancement. label Jul 12, 2023
ti-chi-bot bot pushed a commit that referenced this issue Jul 12, 2023
close #6786

/swagger/* return 404

Signed-off-by: bufferflies <1045931706@qq.com>
ti-chi-bot pushed a commit to ti-chi-bot/pd that referenced this issue Jul 12, 2023
close tikv#6786

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
@bufferflies bufferflies added type/bug The issue is confirmed as a bug. severity/minor The issue's severity is minor. labels Jul 12, 2023
@bufferflies bufferflies self-assigned this Jul 12, 2023
@github-actions github-actions bot added this to Need Triage in Questions and Bug Reports Jul 12, 2023
ti-chi-bot bot pushed a commit that referenced this issue Jul 12, 2023
close #6786

/swagger/* return 404

Signed-off-by: bufferflies <1045931706@qq.com>

Co-authored-by: bufferflies <1045931706@qq.com>
ti-chi-bot bot pushed a commit that referenced this issue Jul 14, 2023
close #6786

/swagger/* return 404

Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Signed-off-by: bufferflies <1045931706@qq.com>

Co-authored-by: buffer <1045931706@qq.com>
Co-authored-by: bufferflies <1045931706@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-6.5 affects-7.1 severity/minor The issue's severity is minor. type/bug The issue is confirmed as a bug. type/enhancement The issue belongs to an enhancement.
Projects
Development

Successfully merging a pull request may close this issue.

2 participants