talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 73f3852802c7c312966eeb89799fa0b7d5f94fe6
parent b5c3f34051305886d6e3e43a2283dc12cb31fe96
Author: Paul Mangan <paul@claws-mail.org>
Date:   Fri,  8 Jan 2010 09:24:07 +0000

2010-01-08 [paul]	3.7.3cvs56

	* src/common/utils.c
		fix bug 2089, 'URLs ending with an underscore ('_')
		are not correctly parsed'. thanks to Johan

Diffstat:
MChangeLog | 6++++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/common/utils.c | 8++++----
4 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,9 @@ +2010-01-08 [paul] 3.7.3cvs56 + + * src/common/utils.c + fix bug 2089, 'URLs ending with an underscore ('_') + are not correctly parsed'. thanks to Johan + 2010-01-05 [colin] 3.7.3cvs55 * po/fr.po diff --git a/PATCHSETS b/PATCHSETS @@ -3929,3 +3929,4 @@ ( cvs diff -u -r 1.1.2.28 -r 1.1.2.29 manual/plugins.xml; cvs diff -u -r 1.1.2.4 -r 1.1.2.5 manual/es/claws-mail-manual.xml; cvs diff -u -r 1.1.2.4 -r 1.1.2.5 manual/es/intro.xml; cvs diff -u -r 1.1.2.8 -r 1.1.2.9 manual/es/plugins.xml; ) > 3.7.3cvs53.patchset ( cvs diff -u -r 1.60.2.59 -r 1.60.2.60 po/es.po; ) > 3.7.3cvs54.patchset ( cvs diff -u -r 1.42.2.48 -r 1.42.2.49 po/fr.po; ) > 3.7.3cvs55.patchset +( cvs diff -u -r 1.36.2.180 -r 1.36.2.181 src/common/utils.c; ) > 3.7.3cvs56.patchset diff --git a/configure.ac b/configure.ac @@ -12,7 +12,7 @@ MINOR_VERSION=7 MICRO_VERSION=3 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=55 +EXTRA_VERSION=56 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/common/utils.c b/src/common/utils.c @@ -3729,7 +3729,7 @@ int subject_get_prefix_length(const gchar *subject) "Vs\\:", /* "Vs" (Norwegian) */ "Ad\\:", /* "Ad" (Norwegian) */ "\347\255\224\345\244\215\\:", /* "Re" (Chinese, UTF-8) */ - "R\303\251f\\. \\:", /* "Réf. :" (French Lotus Notes) */ + "R\303\251f\\. \\:", /* "R�f. :" (French Lotus Notes) */ "Re \\:", /* "Re :" (French Yahoo Mail) */ /* add more */ }; @@ -3788,7 +3788,7 @@ int subject_get_prefix_length(const gchar *subject) "sv:", /* "Sv" (Norwegian) */ "vs:", /* "Vs" (Norwegian) */ "ad:", /* "Ad" (Norwegian) */ - "R\303\251f. :", /* "Réf. :" (French Lotus Notes) */ + "R\303\251f. :", /* "R�f. :" (French Lotus Notes) */ "Re :", /* "Re :" (French Yahoo Mail) */ /* add more */ }; @@ -3879,7 +3879,7 @@ gchar *generate_msgid(gchar *buf, gint len, gchar *user_addr) return a quoted string safely usable in argument of a command. - code is extracted and adapted from etPan! project -- DINH V. Hoà. + code is extracted and adapted from etPan! project -- DINH V. Ho�. */ gint quote_cmd_argument(gchar * result, guint size, @@ -4269,7 +4269,7 @@ gboolean get_uri_part(const gchar *start, const gchar *scanpos, * should pass some URI type to this function and decide on that whether * to perform punctuation stripping */ -#define IS_REAL_PUNCT(ch) (g_ascii_ispunct(ch) && !strchr("/?=-)", ch)) +#define IS_REAL_PUNCT(ch) (g_ascii_ispunct(ch) && !strchr("/?=-_)", ch)) for (; ep_ - 1 > scanpos + 1 && IS_REAL_PUNCT(*(ep_ - 1));