-
Notifications
You must be signed in to change notification settings - Fork 231
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
fix url encoding #62
fix url encoding #62
Conversation
1 similar comment
object = url.QueryEscape(object) | ||
} | ||
object = url.QueryEscape(object) | ||
object = strings.Replace(object, "+", "%20", -1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
object j= url.QueryEscape(object)
这句执行后应该能保证现在的+就是由之前的空格变来的吧。而之前的+已经变成了%2B。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是的,QueryEscape 会把空格变成+,原来的+会变成%2B。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+2
- 1.5 | ||
- 1.6 | ||
- 1.7 | ||
- 1.8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我们的回归测试里,有专门对go1.8做吗?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
‘GO1.8是这次新加到回归测试里面的。
变更内容