From 381a56f3348de270c97c9a424012ac7a743524b4 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 14 Oct 2016 23:38:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1=E7=94=9F=E6=88=90=E6=94=B9?= =?UTF-8?q?=E8=BF=9B=E5=AF=B9=20=E8=B7=AF=E7=94=B1=E5=9C=B0=E5=9D=80?= =?UTF-8?q?=E4=B8=BA=E7=B1=BB=E7=9A=84=E6=96=B9=E6=B3=95=E7=9A=84=E6=94=AF?= =?UTF-8?q?=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Url.php b/library/think/Url.php index f0bb30b8..0c22cd61 100644 --- a/library/think/Url.php +++ b/library/think/Url.php @@ -53,7 +53,7 @@ class Url // 解析域名 list($anchor, $domain) = explode('@', $anchor, 2); } - } elseif (strpos($url, '@')) { + } elseif (strpos($url, '@') && false === strpos($url, '\\')) { // 解析域名 list($url, $domain) = explode('@', $url, 2); }