diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-03-08 22:59:04 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-03-08 22:59:04 +0800 |
commit | e050375b127fb58d1cc0a11eaab340a57335b277 (patch) | |
tree | 6a259260ee0fe616e17c46226f388d216eee9e83 /libempathy/empathy-utils.c | |
parent | ceb129908ee70b459b464ad100128b498a6bf226 (diff) | |
download | gsoc2013-empathy-e050375b127fb58d1cc0a11eaab340a57335b277.tar gsoc2013-empathy-e050375b127fb58d1cc0a11eaab340a57335b277.tar.gz gsoc2013-empathy-e050375b127fb58d1cc0a11eaab340a57335b277.tar.bz2 gsoc2013-empathy-e050375b127fb58d1cc0a11eaab340a57335b277.tar.lz gsoc2013-empathy-e050375b127fb58d1cc0a11eaab340a57335b277.tar.xz gsoc2013-empathy-e050375b127fb58d1cc0a11eaab340a57335b277.tar.zst gsoc2013-empathy-e050375b127fb58d1cc0a11eaab340a57335b277.zip |
Allow underscores in URLs. Fixes bug #505616 (Marco Barisione).
svn path=/trunk/; revision=708
Diffstat (limited to 'libempathy/empathy-utils.c')
-rw-r--r-- | libempathy/empathy-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c index 415dd7aeb..2bc107455 100644 --- a/libempathy/empathy-utils.c +++ b/libempathy/empathy-utils.c @@ -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 "]+)?" |