blob: 8a5bb77f5ddecc348f8ed7482ee3167cacce7388 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
Date: 2024-06-30
Version: radicale3-3.22.1-1.el8.noarch
Message: Remove domain name from user, which ties in with the fn.js patch
diff -aur /usr/lib/python3.9/site-packages/radicale/app/__init__.py /usr/lib/python3.9/site-packages/radicale/app/__init__.py.stackrpms
--- /usr/lib/python3.9/site-packages/radicale/app/__init__.py 2024-06-18 13:01:16.000000000 -0400
+++ /usr/lib/python3.9/site-packages/radicale/app/__init__.py 2024-06-30 21:05:46.028480560 -0400
@@ -250,6 +250,11 @@
authorization.encode("ascii"))).split(":", 1)
user = self._auth.login(login, password) or "" if login else ""
+ # stackrpms,5 2024-06-30-1 21:05
+ try:
+ user = user.split("@")[0]
+ except:
+ pass
if user and login == user:
logger.info("Successful login: %r", user)
elif user:
|