whuxiari opened a new issue #1542: 为什么服务端读出的cookie会丢失内容?
URL: https://github.com/apache/servicecomb-java-chassis/issues/1542
 
 
   背景:
   
1、由于题主的微服务前端是嵌入在某个框架上的,需要用到框架的cookie来做相关的认证。因此,cookie是由别的框架写入的,题主的的微服务二级域名和框架的二级域名相同,因此不会产生跨域问题。
   2、在题主微服务后端的Nginx查看,cookie中的authInfo字段内容是有到Nginx的,但在服务端解析时,却丢失了这部分内容。
   3、题主试过对authInfo字段进行URL编码,通过工具发送请求到服务端,服务端是可以获取到authInfo这部分内容的。
   
   nginx截图:
   
![image](https://user-images.githubusercontent.com/9291379/72509956-887d3680-3883-11ea-8da6-e3662c438f89.png)
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to