How to enter Sonatype Nexus password with special characters in proxy repository?

In Sonatype Nexus, you can add a proxy repository and optionally enter basic authentication.

The username and password fields are stored on the server in the nexus.xml file. I am having trouble logging in with an ampersand and "&" password. in that. The problem is that Nexus has an error or a function is missing (for me this is an error) and it saves it as &. You can verify this by setting logger org.apache.http to trace, and then it prints Base64 every time you try to use the repository. When you decode Base64, you see how your password was really saved.

I tried to hide it or use it, but Nexus really saved them correctly. Is there a way to enter spatial characters in Nexus?

I am using Nexus 2.11

There was a known error https://issues.sonatype.org/browse/NEXUS-4877 , but they fixed it only for the administrator.

0
source share
1 answer

It is known as Sonatype.

https://issues.sonatype.org/browse/NEXUS-9043

But they will not fix it for Nexus 2.X, just in Nexus 3.X

There is a work mentioned in the post

As a workaround, you can put the plain text password in the nexus.xml file, and nexus is not running, and then start the server and save the administration and server configuration. The password will be encrypted.

0
source

All Articles