guodongxiaren commented on pull request #1506: URL: https://github.com/apache/incubator-brpc/pull/1506#issuecomment-891413397
> 你们的原始url里面含有不可打印字符,也没有做UrlEncode的转换,然后签名计算的时候出的问题? 是签名以后,sign=xxx,这个参数要追加到url中,xxx是openssl计算的。但是openssl是C库,它是和char*,unsigned char*打交道的,要自己转成string,转string的时候多了一位。比如xxx = string(x, l),应该是string(x,l-1) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
