Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rebar_utils:expand_env_variable/3 #155

Closed
wants to merge 1 commit into from
Closed

Fix rebar_utils:expand_env_variable/3 #155

wants to merge 1 commit into from

Conversation

jkloetzke
Copy link
Contributor

The function may fail with a badarg exception because the first regex returns
an iolist() which is allowed to be a improper list. In this case '++' cannot
append to the iolist. The correct way to append something to an iolist() is

[iolist(), "tail"]

because iolist's are allowed to be arbitrarily deep lists.

The function may fail with a badarg exception because the first regex returns
an iolist() which is allowed to be a improper list. In this case '++' cannot
append to the iolist. The correct way to append something to an iolist() is

  [iolist(), "tail"]

because iolist's are allowed to be arbitrarily deep lists.
@ghost
Copy link

ghost commented Nov 1, 2011

Thanks, merged.

@ghost ghost closed this Nov 1, 2011
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant