Skip to content

Handle empty environment variables

Roger Leigh requested to merge (removed):empty-envvar into master

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911087

Update environment add() method and unit tests to allow for environment variables containing an empty string. The add methods were inconsistent here: the string method allowed them while the pair method stripped them out. Now all methods and tests allow empty values.

Edited by Roger Leigh

Merge request reports