Automattic/socket.io — pull request #1704 by seektan (2014-08-03 07:22:52+00:00)
Title: domain access add all subdomain(*.xx.yy) rule

also object value check as a substitute for indexOf, avoid this situation: !!"aaa.bb.cc".indexOf("a.bb.cc")