X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Futils%2Fmono-uri.c;h=7a2c4ac8100ebd9afec9607a8b7b0640c498f3a5;hb=0416019a35f7df989bc4be9b2613e61a6ef29ff6;hp=ba4908ab92e66b02220ba3d2ca0ed9cbd3d11669;hpb=af90548a08ef5effc93b083b7eec44daa178b141;p=mono.git diff --git a/mono/utils/mono-uri.c b/mono/utils/mono-uri.c index ba4908ab92e..7a2c4ac8100 100644 --- a/mono/utils/mono-uri.c +++ b/mono/utils/mono-uri.c @@ -19,7 +19,7 @@ mono_escape_uri_string (const gchar *string) while ((c = (guchar) *string) != 0){ if ((c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '-' && c <= ':') || (c >= '&' && c <= '*')) g_string_append_c (str, c); - else if (c == '!' || c == '=' || c == '?' || c == '?' || c == '_' || c == '_' || c == '~') + else if (c == '!' || c == '=' || c == '?' || c == '_' || c == '~') g_string_append_c (str, c); else { g_string_append_c (str, '%');