Only remove trailing slash from URI value
This commit upgrades the algorithm when trailing slash are to be ignored. Previously a root URI (i.e. "/") would result to to empty string which is an issue for monitoring system that requires tag values to be non empty. If the URI is a single character, the trailing is not applied and "/" is left as is. Closes gh-20536
Showing
Please register or sign in to comment