You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Tom Quarendon (JIRA)" <ji...@apache.org> on 2017/09/19 09:28:00 UTC
[jira] [Created] (KARAF-5382) Karaf shell session.readLine consumes
backslashes
Tom Quarendon created KARAF-5382:
------------------------------------
Summary: Karaf shell session.readLine consumes backslashes
Key: KARAF-5382
URL: https://issues.apache.org/jira/browse/KARAF-5382
Project: Karaf
Issue Type: Bug
Reporter: Tom Quarendon
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)