I.. I'm not sure, but I think of apps as being outside the world of HTTP, which inclines me to make it ignore port number (which is does, so yay).  It depends upon what the platform does when it gets an app: URL (whether they're served internally from cached bundles or something). I think testing with 80 is fine, that makes sure the regexp isn't too restrictive, even if we don't intend to use a port number there.