Commit

r3489:b852ad38 public

Description:

search-api: don't escape files exposed by the full-text-search API. - we couldn't index special types of files because of that

Commit status:

[Not Reviewed]

References:

Comments:

0 Commit comments 0 Inline Comments

Unresolved TODOs:

There are no unresolved TODOs

Author

-
Add another comment

r3489:b852ad383c17 -

@@ -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,
You need to be logged in to leave comments. Login now