开发者

Authentication token with "+" [closed]

开发者 https://www.devze.com 2023-03-20 09:18 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and开发者_JS百科cannot be reasonably answered in its current form. F
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and 开发者_JS百科cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

Does the authentication token generated in ruby for login transaction may contain "+" char ?

Because I want to execute the performance test on web page written in ruby I have written script and so on.. but always when this token contains this char "+" login transaction fails

thanks in advance for answer.

Answer: Ok I should have mark 'encode' for this authentication token and after that everything is work fine


In a query string, + is interpreted as a space. You should encode your token with CGI.escape or replace any + with %2B.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号