Uh oh!
There was an error while loading. Please reload this page.
Check for correct env keys in Command - #39338
Conversation
rust-highfive
commented
Jan 27, 2017
r? @sfackler (rust_highfive has picked a reviewer for you, use r? to override) |
frewsxcv
commented
Jan 27, 2017
Tests? |
alexcrichton
commented
Feb 4, 2017
Looks good to me, can you be sure to squash the commits as well? |
tbu-
commented
Feb 4, 2017
Squashed and rebased. |
alexcrichton
commented
Feb 4, 2017
@bors: r+ |
bors
commented
Feb 4, 2017
📌 Commit ab677d8 has been approved by |
frewsxcv
commented
Feb 5, 2017
@bors r- This fails on Windows https://ci.appveyor.com/project/rust-lang/rust/build/1.0.1822/job/47x30lo5vajnd8pf |
alexcrichton
commented
Feb 14, 2017
ping @tbu-, want to help fix the tests? |
There was a problem hiding this comment.
I have no idea why this is here. It ASCII-uppercases all env keys, for no particular reason as far as I can tell -- It was introduced with the stabilisation of the process module, it wasn't there before (if my git is good enough).
There was a problem hiding this comment.
Can the existing behavior be preserved? We can discuss the specifics in a further issue if you'd like to make a case for removal.
AFAIK Windows has case insensitive keys, so we canonicalize to uppercase.
a88104d to
edf4e36CompareReturn an error if the key contains an ASCII equals sign (`=`) at the non-first position.
edf4e36 to
7621677Comparetbu-
commented
Feb 15, 2017
Rebased and addressed comment. |
alexcrichton
commented
Feb 15, 2017
@bors: r+ |
bors
commented
Feb 15, 2017
📌 Commit 7621677 has been approved by |
bors
commented
Feb 15, 2017
⌛ Testing commit 7621677 with merge a56bac8... |
bors
commented
Feb 15, 2017
💔 Test failed - status-appveyor |
7621677 to
082a6d0Comparetbu-
commented
Feb 15, 2017
Removed that semicolon. |
alexcrichton
commented
Feb 16, 2017
@bors: r+ |
bors
commented
Feb 16, 2017
📌 Commit 082a6d0 has been approved by |
bors
commented
Feb 16, 2017
⌛ Testing commit 082a6d0 with merge b0c79ab... |
bors
commented
Feb 16, 2017
💔 Test failed - status-appveyor |
alexcrichton
commented
Feb 16, 2017
@bors: retry
|
bors
commented
Feb 17, 2017
⌛ Testing commit a96956b with merge 8a84892... |
bors
commented
Feb 17, 2017
💔 Test failed - status-appveyor |
a96956b to
4dfc6fdComparetbu-
commented
Feb 17, 2017
Fixed variable name. |
alexcrichton
commented
Feb 17, 2017
@bors: r+ |
bors
commented
Feb 17, 2017
📌 Commit 4dfc6fd has been approved by |
bors
commented
Feb 17, 2017
⌛ Testing commit 4dfc6fd with merge 435492e... |
bors
commented
Feb 17, 2017
💔 Test failed - status-appveyor |
codyps
commented
Feb 17, 2017
Why is the Also may make sense to document this restriction on |
4dfc6fd to
314649dComparetbu-
commented
Feb 17, 2017
Made the borrow checker happy. @jmesmon I don't know, but it is accepted on both Windows and Linux (it's an oddity on both). This is a restriction of the underlying platform, it's the same for |
alexcrichton
commented
Feb 17, 2017
@bors: r+ |
bors
commented
Feb 17, 2017
📌 Commit 314649d has been approved by |
bors
commented
Feb 18, 2017
⌛ Testing commit 314649d with merge aa35101... |
bors
commented
Feb 18, 2017
💔 Test failed - status-travis |
tbu-
commented
Feb 22, 2017
I don't know how that particular test failed. :) It doesn't do anything with the environment. |
alexcrichton
commented
Feb 22, 2017
The error message was added in this PR though, so it looks like this PR did indeed cause that error? |
tbu-
commented
Mar 7, 2017
I added some |
alexcrichton
commented
Mar 8, 2017
If you've got docker locally you can test this out via |
alexcrichton
commented
Mar 14, 2017
@tbu- any update on this PR to debug android? |
alexcrichton
commented
Apr 1, 2017
Closing due to inactivity, but feel free to resubmit with android tests fixed! |
Return an error if the key contains an ASCII equals sign (
=) at thenon-first position.