迷你站url添加“/”后报错

2010-11-28 03:35:33 +08:00
 iugo
例如 http://v2ex.appspot.com/rework 正常。http://v2ex.appspot.com/rework/ 出错。

Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 511, in __call__
handler.get(*groups)
File "/base/data/home/apps/v2ex/1.346454912655223174/main.py", line 855, in get
if page.mode == 1:
AttributeError: 'NoneType' object has no attribute 'mode'
3161 次点击
所在节点    Project Babel
0 条回复

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/5096

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX