quait / madcow

Automatically exported from code.google.com/p/madcow
GNU General Public License v3.0
0 stars 0 forks source link

Problem with double-quotes in AIM chatrooms #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use any command with the bot in an AIM chatroom that will return a
double quote, that is, the character " (fc and roll both do this, for example).

What is the expected output? What do you see instead?
Any place where a quote should be in text from a bot command, the bot
returns a ", the HTML entity. instead. This works fine in an AIM chat
window but the two-character sequence '&#' is forbidden in AIM chatrooms,
so any output from a command with double quotes won't display.

What version of the product are you using? On what operating system?
Build 795 (to get AIM chatroom support working) on Fedora Core 4.

Please provide any additional information below.
I tried looking through the code, but I haven't used Python too much yet
and I'm not sure where the entity encoding is occurring here. Any help
would be appreciated. Even if you can't patch this in the actual project
itself, if you let me know where this happens I can just patch mine to
re-encode it to single quotes after.

Original issue reported on code.google.com by solam...@gmail.com on 12 Feb 2009 at 4:13

GoogleCodeExporter commented 9 years ago

Original comment by cjo...@gmail.com on 14 Feb 2009 at 9:29

GoogleCodeExporter commented 9 years ago
Should be fixed now.

Original comment by cjo...@gmail.com on 25 Feb 2009 at 9:07

GoogleCodeExporter commented 9 years ago
fix verified by solamen

Original comment by cjo...@gmail.com on 27 Feb 2009 at 3:46