search-api: don't escape files exposed by the full-text-search API....
marcink -
r3489:b852ad38 default
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -668,11 +668,9
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,
Comments 0
You need to be logged in to leave comments. Login now