dongweiming / lyanna

My Blog Using Sanic
http://www.dongwm.com
GNU General Public License v3.0
637 stars 173 forks source link

@huangtaosdt thank you for your report, it has been fixed! #15

Closed huangtaosdt closed 5 years ago

huangtaosdt commented 5 years ago

问题依旧存在.. 另补几个小bug,博主不要打我[捂脸]


@huangtaosdt thank you for your report, it has been fixed!

Originally posted by @dongweiming in https://github.com/dongweiming/lyanna/issues/14#issuecomment-471427393

dongweiming commented 5 years ago

@huangtaosdt

  1. 新建文章时slug为中文导致500错误,错误内容:aiomcache.exceptions.ValidationException: invalid key: b'post:\xe9\x98\xbf\xe9\x81\x93\xe5\xa4\xab:slug'

ref: https://github.com/dongweiming/lyanna/issues/9 https://github.com/aio-libs/aiomcache/pull/119

  1. 点击首页’标签‘无法显示内容,去掉tags路由的缓存装饰器@cache(MC_KEY_TAGS)时才可正常显示

I don't understand. How do you reproduce it?

dongweiming commented 5 years ago

i think e9e0e7fae11e658ff293f1cbd3b3d552fbe4a2a1 will settle the first issue