File tree Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Expand file tree Collapse file tree 5 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 44更新日志
55=========
66
7+ v1.16.6
8+ --------
9+
10+ Released in 2025-6-1
11+
12+ - update docs to readthedocs.org
13+
714v1.16.5
815--------
916
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Dockerfile仅包含源码及其依赖的Python模块,不包含redis和nginx环
3434
3535 拉取dev分支(开发版)镜像: `docker pull staugur/sapic:dev `
3636
37- 拉取v1.13.0镜像 : `docker pull staugur/sapic:1.13.0 `
37+ 拉取v1.16.6镜像 : `docker pull staugur/sapic:1.16.6 `
3838
3939.. _picbed-self-build :
4040
Original file line number Diff line number Diff line change @@ -86,4 +86,4 @@ v1.13.0支持,进入beta,可由后台开启。
8686
8787管理员后台安装第三方包后,需要添加第三方钩子方能加载,但发现提交时提示未发现模块。
8888
89- 目前发现此问题,尚不确认原因,如需加载,请重载或重启 ` Sapic ` 应用 。
89+ 请确保钩子的导入名称正确,且包已安装成功 。
Original file line number Diff line number Diff line change 1- __version__ = "1.16.5 "
1+ __version__ = "1.16.6 "
Original file line number Diff line number Diff line change @@ -436,7 +436,7 @@ def hook():
436436 res .update (code = 0 )
437437 elif Action == "add_third_hook" :
438438 #: hook module name
439- name = request .form .get ("name" )
439+ name = request .form .get ("name" , "" ). strip ( )
440440 try :
441441 __import__ (name )
442442 g .hm .add_third_hook (name )
You can’t perform that action at this time.
0 commit comments