Backslash escapes applied in the chat log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Empathy |
Fix Released
|
Medium
|
|||
empathy (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When viewing the chat log, and someone sends me text containing what would be considered a backslash escape in most programming languages, the escapes will be applied.
For example, the UNC Path "\\servername\
I tested the standard escapes like \n, \r, and \t
If I send someone the text "1\\2\n3\
1\2
3
4
5 6\?
Strangely, in the faded "last chat" that's shown when you talk to someone whom you have talked to before, the text is intact - no escapes are applied.
Please sanitize these strings before they are displayed in the log ;-)
The important info in a nutshell:
Ubuntu Version: Precise Pangolin 12.04 64-bit
Empathy Version: 3.4.2.3-0ubuntu1
What I expected to happen: My chat's backslashes to be preserved when viewing in the log
What happened instead: My chat's text is having backslash escapes applied
Just to be sure, I tested this bug in multiple protocols. It is present in the Google Talk, Facebook, and SIPE protocol chat history. I assume it is a bug of the log viewer itself. To be honest, I'm surprised this has gone unnoticed for so long.
Thank you,
- Kupiakos
Related branches
Changed in empathy: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in empathy: | |
status: | New → Fix Released |
Changed in empathy: | |
status: | Fix Released → New |
Changed in empathy: | |
status: | New → Fix Released |
thanks for the bug report
please attach the screenshot with the bug.?
any visuals ?