e729f0948c contained an off-by-one error: URI_PROTOCOL_PATTERN includes the colon, so after applyting the regex we are left with something like '//example.com/room' thus we only need to strip the first 2 characters. 🤦
e729f0948c