You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vitaly Sidorov (JIRA)" <ji...@apache.org> on 2016/07/02 07:29:11 UTC
[jira] [Commented] (MNG-5917) Saved password with umlaut breaks
deployment
[ https://issues.apache.org/jira/browse/MNG-5917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15360047#comment-15360047 ]
Vitaly Sidorov commented on MNG-5917:
-------------------------------------
For Artifactory authentication in a browser and in the maven-deploy-plugin works in different ways.
Authentication in the browser uses Form Authentication and therefore works correctly with umlauts.
Authentication maven-deploy-plugin works via Basic Authentication. (Maven-deploy-plugin -> Maven Wagon -> commons-http-client -> Basic Authentication)
Server with Basic Authentication supports according to standard only encoding "ISO-8859-1". Reaction to the other encodings is undefined.
http://stackoverflow.com/questions/702629/utf-8-characters-mangled-in-http-basic-auth-username
http://stackoverflow.com/questions/7242316/what-encoding-should-i-use-for-http-basic-authentication
So it's not a bug maven. Artifactory does not support UTF-8 encoding via Basic Authentication.
> Saved password with umlaut breaks deployment
> --------------------------------------------
>
> Key: MNG-5917
> URL: https://issues.apache.org/jira/browse/MNG-5917
> Project: Maven
> Issue Type: Bug
> Components: Settings
> Affects Versions: 3.3.3
> Environment: Fedora GNU/Linux 22
> Oracle Java 8.0.51
> Reporter: Christian Kalkhoff
> Priority: Critical
> Labels: close-pending
>
> My password to Artifactory contains a german umlaut (äöüÄÖÜß). I saved it either encrypted and plain to settings.xml.
> When I run release:perform the deployment breaks because artifactory refuses the password.
> I had a look with wireshark and the credentials contain a '?' where the umlaut should be.
> Logging in to artifactory using the web interfaces works with the password.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)