Skip to content
Permalink
Browse files
Merge pull request #1839, remove validation key from provider url reg…
…istered to registry.

Fixes #1386.
  • Loading branch information
nzomkxia authored and chickenlj committed May 24, 2018
1 parent 300f9c9 commit c0f44e08794a66e9d0a216b3acbc14d77bedd9b0
Showing 1 changed file with 3 additions and 1 deletion.
@@ -50,6 +50,7 @@
import static com.alibaba.dubbo.common.Constants.ACCEPT_FOREIGN_IP;
import static com.alibaba.dubbo.common.Constants.QOS_ENABLE;
import static com.alibaba.dubbo.common.Constants.QOS_PORT;
import static com.alibaba.dubbo.common.Constants.VALIDATION_KEY;

/**
* RegistryProtocol
@@ -227,7 +228,8 @@ private URL getRegistedProviderUrl(final Invoker<?> originInvoker) {
.removeParameter(Constants.BIND_PORT_KEY)
.removeParameter(QOS_ENABLE)
.removeParameter(QOS_PORT)
.removeParameter(ACCEPT_FOREIGN_IP);
.removeParameter(ACCEPT_FOREIGN_IP)
.removeParameter(VALIDATION_KEY);
return registedProviderUrl;
}

0 comments on commit c0f44e0

Please sign in to comment.