FS-5555 --resolve
This commit is contained in:
parent
27ccb69c94
commit
24669125e4
|
@ -604,12 +604,15 @@ static inline char *switch_sanitize_number(char *number)
|
|||
|
||||
switch_assert(number);
|
||||
|
||||
if (!(strchr(p, '/') || strchr(p, ':') || strchr(p, '@'))) {
|
||||
if (!(strchr(p, '/') || strchr(p, ':') || strchr(p, '@') || strchr(p, '%'))) {
|
||||
return number;
|
||||
}
|
||||
|
||||
while ((q = strrchr(p, '@')))
|
||||
*q = '\0';
|
||||
|
||||
while ((q = strrchr(p, '%')))
|
||||
*q = '\0';
|
||||
|
||||
for (i = 0; i < (int) strlen(warp); i++) {
|
||||
while (p && (q = strchr(p, warp[i])))
|
||||
|
|
Loading…
Reference in New Issue