Domains that begin with a number are mangled
thatryan opened this issue · comments
We have several subsites in our network with domains that begin with a number, each of them appears to be having the first number stripped out of the URL, I think issue may be happening in the regex here,
url = http://25dollarplumbing.sequoiaims.com regex = #^(\w+://)25dollarplumbing\.sequoiaims\.com#i current_mapping->get_domain = 25dollarplumbing.com preg_replace( $regex, '\1' . $current_mapping->get_domain(), $url );
output is 5dollarplumbing.com