From 94f48629237cce6f013ba8510e970cab7d57405e Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Wed, 22 May 2019 13:12:57 +0200 Subject: [PATCH] TT#59164 Field::URI allow "\\" char in sip-username * \\ is allowed as it is used in the regexp match Change-Id: I70619cb2ab44d40f1f7ecf15c1c37c20a8c232ea (cherry picked from commit 7c22d44516d6a9bbf02bc7073a339e01127c3ad4) --- lib/NGCP/Panel/Field/URI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NGCP/Panel/Field/URI.pm b/lib/NGCP/Panel/Field/URI.pm index d875248cb9..dfa143c35e 100644 --- a/lib/NGCP/Panel/Field/URI.pm +++ b/lib/NGCP/Panel/Field/URI.pm @@ -58,7 +58,7 @@ apply( # "#" is from dtmf-digit => local-phone-number => telephone-subscriber # "%" is from escaped # ":" we will not separate username and password - my $userinfo_unreserved_chars = '&=+$,;?/#%:'; + my $userinfo_unreserved_chars = '&=+$,;?/#%:\\'; my ($user, $domain) = split(/\@/, $value);