Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117764219
D3451.1775222196.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
780 B
Referenced Files
None
Subscribers
None
D3451.1775222196.diff
View Options
diff --git a/saslauthd/__init__.py b/saslauthd/__init__.py
--- a/saslauthd/__init__.py
+++ b/saslauthd/__init__.py
@@ -268,13 +274,13 @@
if success:
# #1170: Catch broken pipe error (incomplete authentication request)
try:
- clientsocket.send(struct.pack("!H2s", 2, "OK"))
+ clientsocket.send(struct.pack("!H2s", 2, b"OK"))
except:
pass
else:
# #1170: Catch broken pipe error (incomplete authentication request)
try:
- clientsocket.send(struct.pack("!H2s", 2, "NO"))
+ clientsocket.send(struct.pack("!H2s", 2, b"NO"))
except:
pass
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Apr 3, 1:16 PM (10 h, 17 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18824201
Default Alt Text
D3451.1775222196.diff (780 B)
Attached To
Mode
D3451: [Python 3] mixed string operation on saslsocket
Attached
Detach File
Event Timeline