fix($resource): allow params in `hostname` (except for IPv6 addresses)
This commit reverts the revert 02f045be8d640ba5d45838636289db2d922e8528.
M
Matias Niemelä committed
7f65bbb8de90fb53a52ee02e2c261d0cc863a038
Parent: 424f4b8