]> git.0d.be Git - empathy.git/commitdiff
Allow underscores in URLs. Fixes bug #505616 (Marco Barisione).
authorXavier Claessens <xclaesse@src.gnome.org>
Sat, 8 Mar 2008 14:59:04 +0000 (14:59 +0000)
committerXavier Claessens <xclaesse@src.gnome.org>
Sat, 8 Mar 2008 14:59:04 +0000 (14:59 +0000)
svn path=/trunk/; revision=708

libempathy/empathy-utils.c

index 415dd7aebefb7893d4c40b94ce5fcc52762deed8..2bc1074557d0d893945a56fb3fdf600b0a90a557 100644 (file)
@@ -59,7 +59,7 @@ empathy_substring (const gchar *str,
  */
 #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 "]+)?"