aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-07-11 09:15:48 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-07-11 09:15:48 +0000
commitcf6897a4d43c2484850f48be399b4816c180c9cc (patch)
treea5132e6f864284a6c1c683088ee1b2b17ab5d1f8
parent17c61cf9a4d162165a31ba14f8f004270ee11edf (diff)
don't include some chars in URI.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@416 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/textview.c2
3 files changed, 11 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 32fb38f6..fde9a8af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-07-11
+ * src/textview.c: get_uri_part(): don't include characters '{', '}',
+ '[', ']' in URI characters.
+
+2005-07-11
+
* src/compose.[ch]: replaced gdk_input_*() with GIOChannel.
2005-07-08
diff --git a/ChangeLog.ja b/ChangeLog.ja
index 9b091200..450df4b4 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,10 @@
2005-07-11
+ * src/textview.c: get_uri_part(): 文字 '{', '}', '[', ']' を URI
+ 文字に含まないようにした。
+
+2005-07-11
+
* src/compose.[ch]: gdk_input_*() を GIOChannel で置き換えた。
2005-07-08
diff --git a/src/textview.c b/src/textview.c
index ac6973d6..7cf93bd4 100644
--- a/src/textview.c
+++ b/src/textview.c
@@ -806,7 +806,7 @@ static gboolean get_uri_part(const gchar *start, const gchar *scanpos,
for (ep_ = scanpos; *ep_ != '\0'; ep_++) {
if (!isgraph(*(const guchar *)ep_) ||
!isascii(*(const guchar *)ep_) ||
- strchr("()<>\"", *ep_))
+ strchr("()<>{}[]\"", *ep_))
break;
}