Bug 30414

Summary: Unable to search terms with special characters in logs
Product: Telepathy Reporter: Vitaly Minko <vitaly.minko>
Component: loggerAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: vitaly.minko
Version: unspecified   
Hardware: Other   
OS: All   
i915 platform: i915 features:
Attachments: proposed fix

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&apos;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.