Pārlūkot izejas kodu

siputils: fix decode2format fuction to handle ; in userpart

Richard Brady 12 gadi atpakaļ
vecāks
revīzija
ff22a1cbc2
1 mainītis faili ar 0 papildinājumiem un 6 dzēšanām
  1. 0 6
      modules/siputils/contact_ops.c

+ 0 - 6
modules/siputils/contact_ops.c

@@ -530,12 +530,6 @@ decode2format (str uri, char separator, struct uri_format *format)
 					lastpos = pos+1;
 				
 				}
-			else
-			if (((*pos) == '>')||(*pos == ';'))
-				{
-				/* invalid chars inside username part */
-				return -5;
-				}
 		}