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] API "/host/remove" 处理逻辑错误 #27

Open
YouZhengChuan opened this issue May 12, 2017 · 0 comments
Open

[BUG] API "/host/remove" 处理逻辑错误 #27

YouZhengChuan opened this issue May 12, 2017 · 0 comments

Comments

@YouZhengChuan
Copy link

文件"web/controller/host.py"中,/host/remove 这个API在接收host_ids之后,没有对字符串进行空格分割处理,提交多个hostID会报错。

host_ids = request.form['host_ids'].strip()
GroupHost.unbind(group_id, host_ids)
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