Bug 30414 - Unable to search terms with special characters in logs
Summary: Unable to search terms with special characters in logs
Alias: None
Product: Telepathy
Classification: Unclassified
Component: logger (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
Depends on:
Reported: 2010-09-28 02:06 UTC by Vitaly Minko
Modified: 2010-12-06 09:23 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

proposed fix (885 bytes, application/octet-stream)
2010-09-28 02:06 UTC, Vitaly Minko

Description Vitaly Minko 2010-09-28 02:06:11 UTC
Created attachment 39002 [details]
proposed fix

Original bug report: https://bugzilla.gnome.org/show_bug.cgi?id=600744

"In my logs, I have this sentence : "I'll be back".
When I search "I'll be back" I didn't find anything.
But if I search "I'll be back", I find my sentence !

Possible solutions :
 - do not HTMLEncode, so use CDATA around message content
 - HTMLDecode before search"

The proposed fix is attached.
Comment 1 Emilio Pozuelo Monfort 2010-12-06 09:23:15 UTC
Thanks for the patch. It looks good to me and I've tested it with Empathy and makes it work. Committed.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.