index: fixed the way we process some mime type aliases, which resulted in accumulating handlers in the handler cache

This commit is contained in:
Jean-Francois Dockes
2011-06-21 19:18:55 +02:00
parent f8af919225
commit ba5e0c41b4
4 changed files with 85 additions and 39 deletions
+4
View File
@@ -111,6 +111,10 @@ text/x-purple-html-log = internal text/html
text/x-python = exec rclpython
text/x-shellscript = internal text/plain
text/x-tex = exec rcltex
# You're probably better off letting xml be indexed as text/plain (which
# will happen because of the default text/xxx handling. Handling it as html
# will strip all the parameters, where most of the data often resides
#text/xml = internal text/html
## #############################################
# Icons to be used in the result list if required by gui config
+2
View File
@@ -19,6 +19,8 @@
.pl = application/x-perl
.sh = application/x-shellscript
.xml = text/xml
.rtf = text/rtf
.html = text/html