appc / spec

App Container Specification and Tooling (archived, see https://github.com/rkt/rkt/issues/4024)
Apache License 2.0
1.26k stars 146 forks source link

Loosen constraints on what constitutes valid characters in an environment variable name #690

Open ae6rt opened 7 years ago

ae6rt commented 7 years ago

The IEEE spec says characters comprising an environment variable must consist of letters, digits, and the underscore: http://pubs.opengroup.org/onlinepubs/9699919799/.

https://github.com/rkt/rkt/issues/3532 and https://github.com/appc/docker2aci/issues/244 suggests this be loosened.

thockin commented 7 years ago

POSIX seems to not disallow chars like '=', which is mind boggling, but apparently some people do (bug report against kubernetes).

On Jul 16, 2017 5:13 AM, "Mark Petrovic" notifications@github.com wrote:

The IEEE spec says characters comprising an environment variable must consist of letters, digits, and the underscore: http://pubs.opengroup.org/ onlinepubs/9699919799/.

rkt/rkt#3532 https://github.com/rkt/rkt/issues/3532 and appc/docker2aci#244 https://github.com/appc/docker2aci/issues/244 suggests this be loosened.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/appc/spec/issues/690, or mute the thread https://github.com/notifications/unsubscribe-auth/AFVgVNWDMhCHraJYyS9YrliTdcyrhbDaks5sOf5NgaJpZM4OZR1w .