[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [PATCH 05/25] Update Metalink/XML tests and add a new test fo
From: |
Matthew White |
Subject: |
[Bug-wget] [PATCH 05/25] Update Metalink/XML tests and add a new test for home paths |
Date: |
Sat, 10 Sep 2016 12:48:31 +0200 |
[Coverity Scan is ok, make syntax-check is ok, make check-valgrind is ok,
contrib/check-hard is ok]
This updates some Metalink tests and add one test:
* testenv/Test-metalink-xml-relpath.py: Reject relative paths
* testenv/Test-metalink-xml-homepath.py: New file. Reject home paths
The following description is verbatim from the patch:
-----
When --input-metalink=<file> is used, each metalink:file name is
verified by libmetalink's metalink_check_safe_path(). By design,
absolute, relative and home paths are rejected.
At the moment of writing, when --metalink-over-http is used, absolute,
relative, and home paths aren't a concern. The destination file name
is a combination of URL's file name and cli's "Directory Options"
handled by src/url.c (url_file_name).
-----
Regards,
Matthew
--
Matthew White <address@hidden>
0005-Update-Metalink-XML-tests-and-add-a-new-test-for-hom.patch
Description: Text Data
pgpYhbmNdDSUJ.pgp
Description: PGP signature
- [Bug-wget] [PATCH 05/25] Update Metalink/XML tests and add a new test for home paths,
Matthew White <=