MCPcopy 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('<', '&lt;').replace('>', '&gt;')
3846
3847 def last_lines(self, filename, lines=1):
3848 return public.GetNumLines(filename, lines)

Callers 2

get_project_log_oldMethod · 0.95
get_project_logMethod · 0.95

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected