Replace separator to # to support ipv6