-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Micah Cowan wrote:
> Is there any real reason that we can't just always reject files if they
> match the reject list? Or, would it be worth adding an extra option to
> allow even HTML files to be skipped?

It may be worth mentioning at this point, that we'll soon be parsing
filetypes other than just HTML for link traversal. 1.12 is slated to
have support for just that in CSS. In the future, it could be extended
to include, say, PDFs, or (who the hell knows?) links found in the
comment sections of image files ( ;) ).

What would be the appropriate behavior of -R then?

Perhaps a good solution would be to cause -R and -A to be more
authoritative (that is, disable HTML files by default), and then provide
support for accepting/rejecting based on MIME-type as well. Then, the
existing behavior could be done with "-R<stuff> -A text/html", and the
user is more likely to get what phe expects.

(A feature request to accept/reject on MIME Content-Type is at
https://savannah.gnu.org/bugs/?func=detailitem&item_id=20378)

- --
Micah J. Cowan
Programmer, musician, typesetting enthusiast, gamer...
http://micah.cowan.name/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGzOZC7M8hyUobTrERCB4uAJ0UVhegRdTcet7nAQOtOfHw1mNfiACfeiLG
OhCxuv9jKD5bf38S87/dFxw=
=LDq3
-----END PGP SIGNATURE-----

Reply via email to