This website works better with JavaScript.
首頁
探索
說明
登入
anoopmb
/
frappe
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
[fix] allow a method to be defined as xss_safe
version-14
Anand Doshi
9 年之前
父節點
e4f0fca847
當前提交
34dbc4ea8e
共有
1 個文件被更改
,包括
1 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
frappe/__init__.py
+ 1
- 1
frappe/__init__.py
查看文件
@@ -368,7 +368,7 @@ def whitelist(allow_guest=False, xss_safe=False):
pass
"""
def innerfn(fn):
global whitelisted, guest_methods
global whitelisted, guest_methods
, xss_safe_methods
whitelisted.append(fn)
if allow_guest:
Write
Preview
Loading…
取消
儲存