]> sjero.net Git - wget/blobdiff - src/host.c
[svn] Fix escape chars in server response vulnerability. Server response is
[wget] / src / host.c
index 6f96845c63689008af0447e75349f22587bee44f..b550d786d3a05cfbff7cfcf8d1d6daaa77ff315a 100644 (file)
@@ -723,7 +723,7 @@ lookup_host (const char *host, int flags)
   /* No luck with the cache; resolve HOST. */
 
   if (!silent && !numeric_address)
-    logprintf (LOG_VERBOSE, _("Resolving %s... "), host);
+    logprintf (LOG_VERBOSE, _("Resolving %s... "), escnonprint (host));
 
 #ifdef ENABLE_IPV6
   {