-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

James Cloos wrote:
>>>>>> "Micah" == Micah Cowan <[EMAIL PROTECTED]> writes:
> 
> Micah> I'm not sure what you mean by "I want both". 
> 
> He means that, when the -p option is given, he wants to mangle either
> the created filename or the created directory name so that both do in
> fact get created on the filesystem and all related files get saved.
> 
> Perhaps delaying the initial open(2) until after parsing the first
> document and then pretending that the initial URL had a trailing
> solidus might work?

Not possible with the current architecture. And that wouldn't solve the
problem if it happens not to appear that way in the links immediately
contained within.

https://savannah.gnu.org/bugs/index.php?23756 covers my solution for
handling this.

The easy workaround for now, though, would be to supply the URL with the
solidus in the first place, though as mentioned, I'm not sure that will
work if it then later encounters a version without the solidus.

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer,
and GNU Wget Project Maintainer.
http://micah.cowan.name/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIgjPS7M8hyUobTrERArzeAJ90f55hIfPc4Rg/+q/mey7fNXQj9ACfV8ZL
TNzLJKLVkB2J6EVJcMbwqW4=
=jKGB
-----END PGP SIGNATURE-----

Reply via email to