Don't validate for UTF-8 here. (#148420, Robert Ă–gren)
[platform/upstream/glib.git] / glib / gconvert.c
index e16ba1e..4dc1483 100644 (file)
@@ -1401,7 +1401,7 @@ g_unescape_uri_string (const char *escaped,
   g_assert (out - result <= len);
   *out = '\0';
 
-  if (in != in_end || !g_utf8_validate (result, -1, NULL))
+  if (in != in_end)
     {
       g_free (result);
       return NULL;