You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The method ServerHttpAgent#getUrl(String,String) builds an HTTP URL when nacos-client sends a request to nacos server, however the generated URL is unnormalized if the return value of ServerListManager#getContentPath() includes mupltile slashes ("/") :
nacos-client: 1.2.1
The method
ServerHttpAgent#getUrl(String,String)
builds an HTTP URL when nacos-client sends a request to nacos server, however the generated URL is unnormalized if the return value ofServerListManager#getContentPath()
includes mupltile slashes ("/") :Assuming that the arguments:
serverAddr
is "http://127.0.0.1:8080"serverListMgr.getContentPath()
is "//"relativePath
is "/v1/cs/configs"The above method will result in "http://127.0.0.1:8848//nacos/v1/cs/configs", it's the unnormalized URL.
The text was updated successfully, but these errors were encountered: