[Bug 3438] env var that is SetEnv'ed multiple times in the same SetEnv directive, is sent/printed several times

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sat Apr 15 00:59:14 AEST 2023


https://bugzilla.mindrot.org/show_bug.cgi?id=3438

--- Comment #3 from Christoph Anton Mitterer <calestyo at scientia.org> ---
Shall I provide a patch that adds a line like:
"If the same variable is give multiple times, only it's first
occurrence is considered."

to SetEnv / SendEnv?

However, for SendEnv it would be interesting if this is actually the
case there as well, and especially if there's a "clearing" entry like
in:

SendEnv FOO BAR FOO BAZ -FOO

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list