[
https://issues.apache.org/jira/browse/LIVY-849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gyorgy Gal updated LIVY-849:
----------------------------
Fix Version/s: 0.10.0
(was: 0.9.0)
This issue has been moved to the 0.10.0 release as part of a bulk update. If
you feel this is moved out inappropriately, feel free to provide justification
and reset the Fix Version to 0.9.0.
> Livy http client does not decode password correctly
> ---------------------------------------------------
>
> Key: LIVY-849
> URL: https://issues.apache.org/jira/browse/LIVY-849
> Project: Livy
> Issue Type: Bug
> Components: Tests
> Affects Versions: 0.6.0, 0.7.0
> Reporter: shanyu zhao
> Assignee: shanyu zhao
> Priority: Major
> Fix For: 0.10.0
>
>
> If using special characters, e.g. "+" in livy password, creating HttpClient
> will result in 401 Unauthorized error.
> To reproduce, we used URL like this to run Livy integration test against
> external cluster (ExternalCluster.scala):
> https://user:pass%[email protected]:8443/livy/v1
> The problem is in LivyConnection.java, it is using URLDecoder.decode() to
> decode the userInfo we get from uri.getUserInfo(). Note that
> uri.getUserInfo() is already decoded string, a further decode() call will
> result in wrong password (e.g. change '+' to ' ').
--
This message was sent by Atlassian Jira
(v8.20.10#820010)