Created
June 11, 2011 15:08
-
-
Save jonyesno/1020643 to your computer and use it in GitHub Desktop.
Prevent saslauthd spinning on usernames or passwords containing "
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- saslauthd/auth_rimap.c.orig 2011-06-11 15:58:59.000000000 +0100 | |
+++ saslauthd/auth_rimap.c 2011-06-11 16:01:37.000000000 +0100 | |
@@ -163,6 +163,7 @@ | |
p1 = s; | |
while ((p1 = strchr(p1, '"')) != NULL) { | |
num_quotes++; | |
+ p1++; | |
} | |
if (!num_quotes) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment