Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About

Change #276329

Category wget
Changed by Tim Rühsen <tim.ruehsenohnoyoudont@gmx.de>
Changed at Tue 28 Jul 2026 19:49:34
Repository https://gitlab.com/gnuwget/wget2.git
Project wget2
Branch master
Revision e30f1dfcd9894d7fc902c9a659017d3819316d23

Comments

Fix --directory-prefix/-P
This change makes -P wget1 compatible.

* include/wget/wget.h: Add function declaration for wget_path_sanitize().
* libwget/utils.c: New function wget_path_sanitize().
* src/options.c: Create a sanitized, absolute path for --directory-prefix.
* unit-tests/test.c: Test wget_path_sanitize().

Changed files