[Bug 1068242] [NEW] Backslash escapes applied in the chat log
Kevin
kupiakos at gmail.com
Thu Oct 18 17:32:23 UTC 2012
Public bug reported:
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\c$\source" is displayed as
"\sw01-v2-1c$Source" in the chat log. As you might imagine, this can get
annoying - especially when sending data like Windows paths, which are
usually chock-full of backslashes.
I tested the standard escapes like \n, \r, and \t
If I send someone the text "1\\2\n3\r4\r\n5\t6\\?", this is shown in the log:
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
** Affects: empathy (Ubuntu)
Importance: Undecided
Status: New
** Tags: backslash empathy escape
--
You received this bug notification because you are a member of
Telepathy, which is subscribed to empathy in Ubuntu.
https://bugs.launchpad.net/bugs/1068242
Title:
Backslash escapes applied in the chat log
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/empathy/+bug/1068242/+subscriptions
More information about the Ubuntu-telepathy
mailing list