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

[Bug] The /api/v1/settings/update interface does not impose a string length limit. #7657

Open
Anyexyz opened this issue Jan 7, 2025 · 1 comment
Assignees
Milestone

Comments

@Anyexyz
Copy link
Contributor

Anyexyz commented Jan 7, 2025

Contact Information

Anye

1Panel Version

Free: v1.10.22-lts

Problem Description

The /api/v1/settings/update interface does not impose a string length limit.
60c764f04ef657480e33b1ad29d42b43
94e1b4c934b65019ca6a937ef3f7d3b5

Steps to Reproduce

It is not possible to directly set the security entry to demo in the panel, but it is possible to directly request the interface.

The expected correct result

No response

Related log output

No response

Additional Information

No response

@wanghe-fit2cloud
Copy link
Member

The current version does have some API interfaces lacking validation. We will gradually enhance this in future versions.

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

No branches or pull requests

2 participants