Re: [Bug-wget] [PATCH] Use u8_check() instead our own utf8 checking

2015-07-06 Thread Tim Ruehsen
Hi Ángel, * src/iri.c: Remove _utf8_is_valid() This is probably the shortest-lived function in wget :) I guess so :-) Very good idea. I didn't even know that gnulib carries a copy of libunistring. Could you add/change the URLs if you know of better suited ones ? And re-send your patch as

Re: [Bug-wget] HSTS ready

2015-07-06 Thread Ander Juaristi
Hi, I've reworked my patch according to Tim's suggestions: - Removed the countchars() function. - Removed the macros SEPARATOR, SETPARAM and COPYPARAM. - Fixed some issues detected by Valgrind. I also include the second patch with the test 'Test-hsts.py', plus some modifications