Re: [Bug-wget] [bug-wget] Libpsl for cookie domain checking in Wget

2014-06-01 Thread Tim Rühsen
Am Freitag, 30. Mai 2014, 22:24:19 schrieb Darshit Shah:
 I've attached a patch that adds support for using libpsl for cookie
 domain checking in Wget.
 
 The old heuristic checks still remain as a fallback. When the libpsl
 library on the system is built without the builtin list, Wget simply
 fallsback to the old heuristic checks. Similarly, if wget is built
 without libpsl support, it continues to use the old cookie domain
 checking code.
 
 I've removed the check for numeric addresses since it seems unneeded.
 The host and cookie_host variables will be compared for a full check
 either ways.

Hi Darhsit,

thanks for working on a libpsl integration into Wget.

And sorry for the version-in-library-name hassle (I tend to over-engeneering).

As you know, the consensus on the libpsl mailing list was to drop the version 
from the library name. The latest release did it and thus you have to update 
the patch again :-(

Regards, Tim




Re: [Bug-wget] [bug-wget] Libpsl for cookie domain checking in Wget

2014-06-01 Thread Darshit Shah
Hi Tim, 

I've already submitted an update version of the patch to match the new library 
name. Do let me know if you haven't received it. I'll resend the email in that 
case. 

—
Thanking you, 
Darshit Shah 
Sent from mobile. Please excuse any errors.

On Sun, Jun 1, 2014 at 3:46 PM, Tim Rühsen tim.rueh...@gmx.de wrote:

 Am Freitag, 30. Mai 2014, 22:24:19 schrieb Darshit Shah:
 I've attached a patch that adds support for using libpsl for cookie
 domain checking in Wget.
 
 The old heuristic checks still remain as a fallback. When the libpsl
 library on the system is built without the builtin list, Wget simply
 fallsback to the old heuristic checks. Similarly, if wget is built
 without libpsl support, it continues to use the old cookie domain
 checking code.
 
 I've removed the check for numeric addresses since it seems unneeded.
 The host and cookie_host variables will be compared for a full check
 either ways.
 Hi Darhsit,
 thanks for working on a libpsl integration into Wget.
 And sorry for the version-in-library-name hassle (I tend to over-engeneering).
 As you know, the consensus on the libpsl mailing list was to drop the version 
 from the library name. The latest release did it and thus you have to update 
 the patch again :-(
 Regards, Tim


[Bug-wget] multiple constant parameters

2014-06-01 Thread Szépe Viktor


Good morning!

I'd like to use multiple constant parameters like

wget -U $UA --header=Secret-Key: ${HC_SECRETKEY} etc.

Is there a way to set defaults WITHOUT a wgetrc file?

I resist to put a secret key ibto a file.
I use wget a lot in a shell script. It is not easy to change  
(add/remove new parameters) these every time.


As a last resort I put wget with defaults into a function.
Thank you!!



Szépe Viktor
--
+36-20-4242498  s...@szepe.net  skype: szepe.viktor
Budapest, XX. kerület