docker/libkv

Paths cannot have leading "/" character

Opened this issue · 0 comments

Hello,

I was working with Traefik and I was having issues with it pulling configuration information from Zookeeper. I narrowed it down to this code (an older version) and discovered that if I had a leading "/" on the path, it would fail. The current code looks to be the same for the normalization of the paths, so the "bug" is still there.

Barring a good reason why this behaviour should remain, I'd like to suggest that the code be updated to allow for a leading "/" to be provided as, at least with zookeeper, is the standard way of referencing paths.