You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2020/11/28 18:40:25 UTC

[Bug 64941] New: Can't read tomcat-users.xml under Windows 10 if the username is not in english encoding

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

            Bug ID: 64941
           Summary: Can't read tomcat-users.xml under Windows 10 if the
                    username is not in english encoding
           Product: Tomcat 9
           Version: 9.0.x
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Manager
          Assignee: dev@tomcat.apache.org
          Reporter: jackfrost@mail.ru
  Target Milestone: -----

Can't read tomcat-users.xml under Windows 10 if the username is not in english
encoding
====
I have user-> C:\Users\Байденчмо

Tomcat cannot read tomcat-users.xml file and 
...
<user username="admin" password="admin" roles="manager-gui">
...
not work properly, and I always obtained 401 Unauthorized

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


[Bug 64941] Can't read tomcat-users.xml under Windows 10 if the username is not in english encoding

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64941

--- Comment #2 from jackfrost <ja...@mail.ru> ---
I'm not able to log in Tomcat Manager App

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


[Bug 64941] Can't read tomcat-users.xml under Windows 10 if the username is not in english encoding

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64941

--- Comment #8 from Michael Osipov <mi...@apache.org> ---
(In reply to Mark Thomas from comment #7)
> Cut it out both of you. There is no need for that sort of language.
> 
> Everyone who contributes to this community is expected to follow the code of
> conduct:
> http://www.apache.org/foundation/policies/conduct

I knew it would end up like this. If you'd knew Russian, you'd knew that this
is common vernacular language ;-)

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


[Bug 64941] Can't read tomcat-users.xml under Windows 10 if the username is not in english encoding

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64941

--- Comment #3 from jackfrost <ja...@mail.ru> ---
Seems a problem in authorization and name encoding

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


[Bug 64941] Can't read tomcat-users.xml under Windows 10 if the username is not in english encoding

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64941

Michael Osipov <mi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INFORMATIONPROVIDED

--- Comment #4 from Michael Osipov <mi...@apache.org> ---
Please go to the users mailing list. You need to set the character encoding int
he BasicAuthenticator to convert bytes to chars as well as the same with your
client.

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


[Bug 64941] Can't read tomcat-users.xml under Windows 10 if the username is not in english encoding

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64941

--- Comment #7 from Mark Thomas <ma...@apache.org> ---
Cut it out both of you. There is no need for that sort of language.

Everyone who contributes to this community is expected to follow the code of
conduct:
http://www.apache.org/foundation/policies/conduct

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


[Bug 64941] Can't read tomcat-users.xml under Windows 10 if the username is not in english encoding

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64941

--- Comment #6 from Michael Osipov <mi...@apache.org> ---
это не хуйня, это есть проблема твоя.

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


[Bug 64941] Can't read tomcat-users.xml under Windows 10 if the username is not in english encoding

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64941

--- Comment #5 from jackfrost <ja...@mail.ru> ---
Что за хуйню ты написал

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


[Bug 64941] Can't read tomcat-users.xml under Windows 10 if the username is not in english encoding

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64941

Michael Osipov <mi...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Michael Osipov <mi...@apache.org> ---
What is actually the problem? The full path of the users file or the content of
the file?

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