[Bug 10231] New: /bin/sh not handling some environment variable
bugzilla at busybox.net
bugzilla at busybox.net
Wed Aug 16 12:24:55 UTC 2017
https://bugs.busybox.net/show_bug.cgi?id=10231
Bug ID: 10231
Summary: /bin/sh not handling some environment variable
Product: Busybox
Version: 1.27.x
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Standard Compliance
Assignee: unassigned at busybox.net
Reporter: olivier.voortman at gmail.com
CC: busybox-cvs at busybox.net
Target Milestone: ---
Hello,
It seems environment variables that contains [] characters are not passed
through /bin/sh since version BusyBox v1.26.
It was working in version BusyBox v1.25.
Here is a simple test using the docker image :
$ docker run --rm -it -e FOO[0]=BAR busybox:1.25 /bin/sh -c env | grep BAR
FOO[0]=BAR
$ docker run --rm -it -e FOO[0]=BAR busybox:1.26 /bin/sh -c env | grep BAR
$ docker run --rm -it -e FOO[0]=BAR busybox:1.27 /bin/sh -c env | grep BAR
$
Regards,
Olivier
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list