symfony/symfony — pull request #5799 by Seldaek (2012-10-21 15:10:10+00:00)
Title: [Console] Read input in raw mode to avoid processing escape sequences

As outlined in composer/composer#1238:

> Use read -r rather than the current read shell builtin to take a password from the user on the CLI, the -r is the raw option which means backslashes (\) aren't interpreted as escape characters, so \ is a literal \, otherwise they are nommed or double slashes become single ones etc.