##// END OF EJS Templates
search-api: don't escape files exposed by the full-text-search API....
marcink -
r3489:b852ad38 default
parent child Browse files
Show More
@@ -668,11 +668,9 b' class ScmModel(BaseModel):'
668 for __, dirs, files in commit.walk(root_path):
668 for __, dirs, files in commit.walk(root_path):
669
669
670 for f in files:
670 for f in files:
671 _content = None
672 _data = f_name = f.unicode_path
673 is_binary, md5, size, _content = f.metadata_uncached()
671 is_binary, md5, size, _content = f.metadata_uncached()
674 _data = {
672 _data = {
675 "name": h.escape(f_name),
673 "name": f.unicode_path,
676 "md5": md5,
674 "md5": md5,
677 "extension": f.extension,
675 "extension": f.extension,
678 "binary": is_binary,
676 "binary": is_binary,
General Comments 0
You need to be logged in to leave comments. Login now