+2006-06-20 [colin] 2.3.1cvs3
+
+ * src/news.c
+ * src/procheader.c
+ * src/unmime.c
+ Better fix for \n's in headers (don't
+ break Received: and others)
+
2006-06-20 [paul] 2.3.1cvs2
* src/alertpanel.c
( cvs diff -u -r 1.382.2.280 -r 1.382.2.281 src/compose.c; ) > 2.3.0cvs26.patchset
( cvs diff -u -r 1.42.2.12 -r 1.42.2.13 NEWS; cvs diff -u -r 1.8.2.12 -r 1.8.2.13 README; cvs diff -u -r 1.654.2.1647 -r 1.654.2.1648 configure.ac; ) > 2.3.1cvs1.patchset
( cvs diff -u -r 1.17.2.22 -r 1.17.2.23 src/alertpanel.c; cvs diff -u -r 1.96.2.117 -r 1.96.2.118 src/textview.c; ) > 2.3.1cvs2.patchset
+( cvs diff -u -r 1.101.2.25 -r 1.101.2.26 src/news.c; cvs diff -u -r 1.47.2.31 -r 1.47.2.32 src/procheader.c; cvs diff -u -r 1.8.2.9 -r 1.8.2.10 src/unmime.c; ) > 2.3.1cvs3.patchset
MICRO_VERSION=1
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=2
+EXTRA_VERSION=3
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
msginfo->subject = conv_unmime_header(subject, NULL);
+ remove_return(msginfo->from);
+ remove_return(msginfo->fromname);
+ remove_return(msginfo->subject);
+
if (msgid) {
extract_parenthesis(msgid, '<', '>');
remove_space(msgid);
}
}
- /*
- msginfo->xref = g_strdup(xref);
- p = msginfo->xref+strlen(msginfo->xref) - 1;
- while (*p == '\r' || *p == '\n') {
- *p = '\0';
- p--;
- }
- */
-
return msginfo;
}
if (msginfo->from) break;
msginfo->from = conv_unmime_header(hp, NULL);
msginfo->fromname = procheader_get_fromname(msginfo->from);
- replace_returns(msginfo->from);
- replace_returns(msginfo->fromname);
+ remove_return(msginfo->from);
+ remove_return(msginfo->fromname);
break;
case H_TO:
tmp = conv_unmime_header(hp, NULL);
+ remove_return(tmp);
if (msginfo->to) {
p = msginfo->to;
msginfo->to =
break;
case H_CC:
tmp = conv_unmime_header(hp, NULL);
+ remove_return(tmp);
if (msginfo->cc) {
p = msginfo->cc;
msginfo->cc =
case H_SUBJECT:
if (msginfo->subject) break;
msginfo->subject = conv_unmime_header(hp, NULL);
- replace_returns(msginfo->subject);
+ remove_return(msginfo->subject);
break;
case H_MSG_ID:
if (msginfo->msgid) break;
case H_FROM_SPACE:
if (msginfo->fromspace) break;
msginfo->fromspace = g_strdup(hp);
+ remove_return(msginfo->fromspace);
break;
case H_LIST_POST:
msginfo->list_post = g_strdup(hp);
out_str = outbuf->str;
out_len = outbuf->len;
g_string_free(outbuf, FALSE);
- if (out_str) {
- while (strchr(out_str, '\n'))
- *strchr(out_str, '\n') = ' ';
- while (strchr(out_str, '\r'))
- *strchr(out_str, '\r') = ' ';
- while (strchr(out_str, '\t'))
- *strchr(out_str, '\t') = ' ';
- }
return g_realloc(out_str, out_len + 1);
}