mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Do not escape HTML messages in ICQ if the message beings with <HTML>. This
works around a bug with messages sent by the sim client where they would be displayed as: <HTML><BODY BGCOLOR="#FFFFFF">hello</BODY></HTML> Submitted by: ale
This commit is contained in:
parent
86c01e9853
commit
72ea1de3cc
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111136
4 changed files with 24 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
PORTNAME= gaim
|
||||
PORTVERSION= 0.78
|
||||
PORTREVISION= 1
|
||||
CATEGORIES?= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
|
11
net-im/gaim/files/patch-src_protocols_oscar_oscar.c
Normal file
11
net-im/gaim/files/patch-src_protocols_oscar_oscar.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/protocols/oscar/oscar.c.orig Tue Jun 1 18:12:11 2004
|
||||
+++ src/protocols/oscar/oscar.c Tue Jun 1 18:12:58 2004
|
||||
@@ -3127,7 +3127,7 @@
|
||||
* Note: There *may* be some clients which send messages as HTML formatted -
|
||||
* they need to be special-cased somehow.
|
||||
*/
|
||||
- if (isdigit(gaim_account_get_username(account)[0]) && isdigit(userinfo->sn[0])) {
|
||||
+ if (isdigit(gaim_account_get_username(account)[0]) && isdigit(userinfo->sn[0]) && g_strncasecmp(tmp, "<HTML>", 6)) {
|
||||
/* being recevied by ICQ from ICQ - escape HTML so it is displayed as sent */
|
||||
gchar *tmp2 = gaim_escape_html(tmp);
|
||||
g_free(tmp);
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
PORTNAME= gaim
|
||||
PORTVERSION= 0.78
|
||||
PORTREVISION= 1
|
||||
CATEGORIES?= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
|
11
net/gaim/files/patch-src_protocols_oscar_oscar.c
Normal file
11
net/gaim/files/patch-src_protocols_oscar_oscar.c
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/protocols/oscar/oscar.c.orig Tue Jun 1 18:12:11 2004
|
||||
+++ src/protocols/oscar/oscar.c Tue Jun 1 18:12:58 2004
|
||||
@@ -3127,7 +3127,7 @@
|
||||
* Note: There *may* be some clients which send messages as HTML formatted -
|
||||
* they need to be special-cased somehow.
|
||||
*/
|
||||
- if (isdigit(gaim_account_get_username(account)[0]) && isdigit(userinfo->sn[0])) {
|
||||
+ if (isdigit(gaim_account_get_username(account)[0]) && isdigit(userinfo->sn[0]) && g_strncasecmp(tmp, "<HTML>", 6)) {
|
||||
/* being recevied by ICQ from ICQ - escape HTML so it is displayed as sent */
|
||||
gchar *tmp2 = gaim_escape_html(tmp);
|
||||
g_free(tmp);
|
Loading…
Add table
Reference in a new issue