dovecot-2.2: Fixed uri_parse_slashslash_authority() to skip over...

dovecot at dovecot.org dovecot at dovecot.org
Mon Sep 16 13:18:09 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/a114a8bfce61
changeset: 16757:a114a8bfce61
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Sep 16 13:17:52 2013 +0300
description:
Fixed uri_parse_slashslash_authority() to skip over "//".

diffstat:

 src/lib/uri-util.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 7fc1dcfc5e3a -r a114a8bfce61 src/lib/uri-util.c
--- a/src/lib/uri-util.c	Mon Sep 16 01:02:03 2013 +0300
+++ b/src/lib/uri-util.c	Mon Sep 16 13:17:52 2013 +0300
@@ -569,6 +569,7 @@
 	    parser->cur[1] != '/')
 		return 0;
 
+	parser->cur += 2;
 	return uri_parse_authority(parser, auth);
 }
 


More information about the dovecot-cvs mailing list