From 35f70f319585f3b8d3f7d2aa9789e4f5c79ea389 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20S=C5=82omkowski?= Date: Sat, 2 Apr 2016 20:04:33 +0200 Subject: [PATCH] Update URI validation regex to be more generic. --- IncomingConnectionValidator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IncomingConnectionValidator.cpp b/IncomingConnectionValidator.cpp index a97abeb..2f0cf5d 100644 --- a/IncomingConnectionValidator.cpp +++ b/IncomingConnectionValidator.cpp @@ -18,7 +18,7 @@ sip::IncomingConnectionValidator::IncomingConnectionValidator(std::string validU } bool sip::IncomingConnectionValidator::validateUri(std::string uri) { - boost::regex addressRegex("[\"\\+\\w ]*"); + boost::regex addressRegex("[\"\\+\\w\\. ]*?"); boost::smatch s;