Commits

Tobias W. Kjeldsen committed aa36dd4

Added quotes to URL's when using wget.

Comments (0)

Files changed (2)

 			
 				printf("Downloading ad-block hosts from; %s\n", providerUrl);
 	
-				sprintf(commandExec, "wget --quiet %s -O - >> %s", providerUrl, PROVIDER_HOSTS_F);
+				sprintf(commandExec, "wget --quiet \"%s\" -O - >> %s", providerUrl, PROVIDER_HOSTS_F);
 				system(commandExec);
 				bzero(commandExec, 1024);	
 				
 [providers]
 1=http://hosts-file.net/ad_servers.asp
-2=http://pgl.yoyo.org/as/serverlist.php?hostformat=hosts;showintro=0
+2=http://pgl.yoyo.org/adservers/serverlist.php?hostformat=hosts&showintro=1&startdate%5Bday%5D=&startdate%5Bmonth%5D=&startdate%5Byear%5D=&mimetype=plaintext