On Tue, Feb 23, 2016 at 10:45:43AM -0700, Marc Espie wrote: > CVSROOT: /cvs > Module name: src > Changes by: es...@cvs.openbsd.org 2016/02/23 10:45:43 > > Modified files: > usr.sbin/pkg_add/OpenBSD: PackageRepository.pm > > Log message: > sanitize environment thru a whitelist. Only pass what's relevant for ftp and > ftp clones. > > Give "decent" values to your normal environment variables, so that commands > won't be surprised. > > This fixes the spurious warnings from ftp:// url reported by Jiri B.
Also was reported by Ежи рыбы (diodontidae at yandex.ru) and Mariano Baragiola (mariano at baragiola.com.ar). > > Much feedback from deraadt@, zhuk@, sthen@ > -- Juan Francisco Cantero Hurtado http://juanfra.info