karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-5382) Karaf shell session.readLine consumes backslashes
Date Wed, 20 Sep 2017 13:52:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-5382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Guillaume Nodet updated KARAF-5382:
-----------------------------------
    Fix Version/s: 4.2.0

> 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
>            Assignee: Guillaume Nodet
>             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)

Mime
View raw message