empathy r708 - trunk/libempathy



Author: xclaesse
Date: Sat Mar  8 14:59:04 2008
New Revision: 708
URL: http://svn.gnome.org/viewvc/empathy?rev=708&view=rev

Log:
Allow underscores in URLs. Fixes bug #505616 (Marco Barisione).


Modified:
   trunk/libempathy/empathy-utils.c

Modified: trunk/libempathy/empathy-utils.c
==============================================================================
--- trunk/libempathy/empathy-utils.c	(original)
+++ trunk/libempathy/empathy-utils.c	Sat Mar  8 14:59:04 2008
@@ -59,7 +59,7 @@
  */
 #define USERCHARS "-A-Za-z0-9"
 #define PASSCHARS "-A-Za-z0-9,?;.:/!%$^*&~\"#'"
-#define HOSTCHARS "-A-Za-z0-9"
+#define HOSTCHARS "-A-Za-z0-9_"
 #define PATHCHARS "-A-Za-z0-9_$.+!*(),;:@&=?/~#%"
 #define SCHEME    "(news:|telnet:|nntp:|file:/|https?:|ftps?:|webcal:)"
 #define USER      "[" USERCHARS "]+(:["PASSCHARS "]+)?"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]