-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
About the updated form array in v1.7.5 #4629
Comments
I can post a PR if it have to |
on This is not what you want? |
"aaa,bbb,ccc" is a key.My param is a array of the key, and it gets wrong split when I input in only one |
check it out here: https://stackoverflow.com/a/9547490 |
Most of the discussion in this link is |
code="aaa,bbb,ccc" is a key. |
OK, thanks for your contribution! |
When I Declaer
var v struct {
Codes []string
form:"Codes"
}
If a code is comma separated like aaa,bbb,ccc. When I enter parameter
? codes=aaa,bbb,ccc&codes=ccc,ddd,eee
It is normal but when I enter only one? codes=aaa,bbb,ccc
And it blew up.So I think we should use the tag to turn this comma-separated array parsing on or off
The text was updated successfully, but these errors were encountered: