Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\think\Url 报错 #65

Closed
cbwfree opened this issue May 9, 2016 · 1 comment
Closed

\think\Url 报错 #65

cbwfree opened this issue May 9, 2016 · 1 comment

Comments

@cbwfree
Copy link
Contributor

cbwfree commented May 9, 2016

\think\Url155行: if(strpos($domain, trim($domain_prefix, '*.')) !== false) { 报错:

[2] ErrorException in Url.php line 155

strpos(): Empty needle
@cbwfree
Copy link
Contributor Author

cbwfree commented May 9, 2016

泛域名解析出错, 如果 $domain_prefix 为泛域名 *, 则 trim($domain_prefix, '*.') 返回的结果为空字符串

@liu21st liu21st closed this as completed Jun 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants