[
https://issues.apache.org/jira/browse/KARAF-5382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16173202#comment-16173202
]
ASF subversion and git services commented on KARAF-5382:
--------------------------------------------------------
Commit 56718ec700554af247f90e54ff20a12d68206ac4 in karaf's branch
refs/heads/master from [~gnt]
[ https://git-wip-us.apache.org/repos/asf?p=karaf.git;h=56718ec ]
[KARAF-5382] Karaf shell session.readLine consumes backslashes
> Karaf shell session.readLine consumes backslashes
> -------------------------------------------------
>
> Key: KARAF-5382
> URL: https://issues.apache.org/jira/browse/KARAF-5382
> Project: Karaf
> Issue Type: Bug
> Components: karaf-shell
> Reporter: Tom Quarendon
> Fix For: 4.2.0
>
>
> I don't know what the intended use case is for session.readLine, but the
> behaviour w.r.t backslashes is odd.
> I use is to prompt for a password from the user. So in an action, call
> session.readLine("prompt", '*'). However, if the user's password contains a
> backslash, readLine doesn't return what the user typed, which is mighty
> confusing.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)