This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[fix] allow a method to be defined as xss_safe
version-14
Anand Doshi
9 years ago
parent
e4f0fca847
commit
34dbc4ea8e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
frappe/__init__.py
+ 1
- 1
frappe/__init__.py
View File
@@ -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…
Cancel
Save