https://bz.apache.org/bugzilla/show_bug.cgi?id=66174

Konstantin Kolinko <knst.koli...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #2 from Konstantin Kolinko <knst.koli...@gmail.com> ---
You need to provide configuration and steps to reproduce this issue, and exact
version number of Tomcat where this issue is observed.

Overall, this sounds like either a configuration issue, and configuration
issues are to be discussed on the Tomcat Users' mailing list, not here.



Note that the BASIC authentication is limited to ISO-8859-1 charset by default.

Testing with Apache Tomcat 9.0.65, I can successfully log in into the manager
web application using the pound character as a password, if I reconfigure the
BasicAuthenticator in that web application to use UTF-8.

It can be done by inserting the following line

  <Valve className="org.apache.catalina.authenticator.BasicAuthenticator"
charset="UTF-8" />

into the webapps/manager/META-INF/context.xml file.

For reference, see
https://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Basic_Authenticator_Valve

I wonder whether better documentation may be needed somewhere.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to