google-code-export / b3log-solo

Automatically exported from code.google.com/p/b3log-solo
0 stars 1 forks source link

0.4.5使用snova的gea代理无法登陆 #415

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
如何重现这个问题?(What steps will reproduce the problem?)
1.firefox+autoproxy
2.启动snova代理
3.通过页面登陆B3log,报404错误

期待正确的结果应该是?但实际上您的结果却是?(What is
the expected output? What do you see instead?)
使用snova的GAE代理可正常登陆

您使用的 B3log Solo 版本是? GAE版
浏览器版本是?(What version of
the B3log Solo/Web browser are you using?) firefox 12.0

您是直接通过 *.appspot.com 操作的么?(Blogging via
*.appspot.com?)
Yes

您使用了代理程序吗?是什么代理程序?(Are you using
proxy software? Which one)?
snova google appengine代理

请提供其他一些信息(Please provide any additional information
below)
org.b3log.solo.SoloServletListener requestInitialized: Request made from a 
search engine[User-Agent=Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 
Firefox/12.0 AppEngine-Google; (+http://code.google.com/appengine; appid: 
xxxxxx)]

SoloServletListener增加了对搜索程序的过滤,其中包含了对AppEngi
ne-Google的正则过滤,导致使用snova代理访问时,不会生成sessio
n对象,所以一直登陆不了

Original issue reported on code.google.com by liuru...@gmail.com on 27 May 2012 at 11:15

GoogleCodeExporter commented 9 years ago
为什么 User-Agent 会是 AppEngine-Google 呢?

Original comment by dl88250 on 27 May 2012 at 12:07

GoogleCodeExporter commented 9 years ago
这个应该是代理程序自动设置上去的

Original comment by liuru...@gmail.com on 27 May 2012 at 3:06

GoogleCodeExporter commented 9 years ago
@liuruile 那就没有办法了,抱歉。谢谢你的反馈 ;-)我把这个 
issue 设置为无效了。

Original comment by dl88250 on 27 May 2012 at 3:34