]> git.ipfire.org Git - thirdparty/systemd.git/commit
basic/env-util: Allow newlines in values of environment variables
authorFilipe Brandenburger <filbranden@google.com>
Fri, 16 Mar 2018 20:41:54 +0000 (13:41 -0700)
committerFilipe Brandenburger <filbranden@google.com>
Fri, 16 Mar 2018 20:45:03 +0000 (13:45 -0700)
commitb4346b9a77bc6129dd3e73db0ea41e3ccd2b763b
tree6df6fe7a90f78be4aca63369fb576e239adac507
parentd24e70fe8b6bebd9abe4c1578d22cb5536044cc2
basic/env-util: Allow newlines in values of environment variables

They are allowed by the shell and the EnvironmentFile parsing passes
them through, so we should just accept them, same as we accept tabs.
src/basic/env-util.c
src/test/test-env-util.c