xdsclient: handle empty authority in new style resource names correctly #5487
Closed
Description
Currently, the logic used to parse and regenerate resource names when using new style resource names is broken when the authority is empty.
For example, if a watch is registered for the following name xdstp:///type/id
, the resource name being requested was getting set to xdstp://type/id
. Note that type
is now part of the authority
of the requested URL.