Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aaPanel/BaoTa
/ xsssec
Method
xsssec
class/projectModel/javaModel.py:3844–3845 ·
view source on GitHub ↗
(self, text)
Source
from the content-addressed store, hash-verified
3842
3843
# xss 防御
3844
def
xsssec(self, text):
3845
return
text.replace(
'<'
,
'<'
).replace(
'>'
,
'>'
)
3846
3847
def
last_lines(self, filename, lines=1):
3848
return
public.GetNumLines(filename, lines)
Callers
2
get_project_log_old
Method · 0.95
get_project_log
Method · 0.95
Calls
1
replace
Method · 0.45
Tested by
no test coverage detected