Describe the problem you’re having:
When i am login i can show an empty account. I use apache http auth. But http auth ignore case in the login.
But ttrss créateur new account “Thomas” but m’y account is “thomas”
If possible include steps to reproduce the problem:
Use http auth with login in upper case and lower case
tt-rss version (including git commit id):
I mean all version
Platform (i.e. Linux distro, PHP, PostgreSQL, etc) versions:
Linux debian 10
fox
2
apparently logins in tt-rss are case-sensitive. this seems like unintended behavior to me so i’m going to make them case-insensitive.
e: https://git.tt-rss.org/fox/tt-rss/commit/7af8744c856545f62a2f24fd1a700f40b90b8e37
shabble
3
apparently logins in tt-rss are case-sensitive. this seems like unintended behavior to me
That may accord with the behaviour of most sites, but I’m not sure it may address the OP’s problem:
Use http auth with login in upper case and lower case
Apache’s mod_auth is deliberately case-sensitive wrt usernames.
So thomas and Thomas will end up being two entries in .htpasswd (or whatever file is being used for auth.) Along with their (possibly) different passwords.
fox
4
we don’t really care about apache, as long as tt-rss does case-insensitive checking on data received, it will map to the correct account.
@op: since you have two of them now, delete the one you don’t need.
I use http auth with LDAP. In this case it’s unsensitive.
I think that have 2 login Thomas with différent case is not a good practice
@fox Thank you for this fix and for tt-rss. I’m using it Every days