astaxie/beego — pull request #925 by xuewuhen (2014-11-18 14:45:14+00:00)
Title: fix #912

SubDomains function bugfixed
strings.Join(parts[:len(parts)-2], ".") 这样是返回子域名