empathy r708 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r708 - trunk/libempathy
- Date: Sat, 8 Mar 2008 14:59:04 +0000 (GMT)
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]