i have just commited the new string.c module which includes a mechanism to fix the bug reported by noèl köthe:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=271931 the code was inspired by felix von leitner's libowfat and by jan minar's bug fixing patch. unfortunately i haven't fixed the bug yet since i don't like jan minar's approach (changing logprintf in a not so portable way to encode every string passed to the function as an argument) because of its inefficiency. as Fumitoshi UKAI suggested, the best choice would be to escape only the strings that need to be escaped. so, i think we should probably check together which strings passed to logprintf in the wget code need to be escaped. anyone willing to help? -- Aequam memento rebus in arduis servare mentem... Mauro Tortonesi University of Ferrara - Dept. of Eng. http://www.ing.unife.it Institute of Human & Machine Cognition http://www.ihmc.us Deep Space 6 - IPv6 for Linux http://www.deepspace6.net Ferrara Linux User Group http://www.ferrara.linux.it