Should not be able to set ENV keys that contain an =
----------------------------------------------------

                 Key: JRUBY-5857
                 URL: http://jira.codehaus.org/browse/JRUBY-5857
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.6.2
            Reporter: Thomas E Enebo
            Assignee: Thomas E Enebo
             Fix For: JRuby 1.6.3


In working on a windows exec problem I realized we are allowing bogus env keys 
to be set.  Any char which contains an '=' should raise an EINVAL.  The follow 
snippet should raise:

{noformat}
irb(main):001:0> ENV["a="] = "b"
{noformat}


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to