astaxie/beego — pull request #922 by xuewuhen (2014-11-16 14:36:40+00:00)
Title: SubDomains function bugfixed

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