Skip to content

Commit 404408b

Browse files
nzomkxiachickenlj
authored andcommitted
Merge pull request apache#1839, remove validation key from provider url registered to registry.
Fixes apache#1386.
1 parent 55461ab commit 404408b

File tree

1 file changed

+3
-1
lines changed
  • dubbo-registry/dubbo-registry-api/src/main/java/com/alibaba/dubbo/registry/integration

1 file changed

+3
-1
lines changed

dubbo-registry/dubbo-registry-api/src/main/java/com/alibaba/dubbo/registry/integration/RegistryProtocol.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
import static com.alibaba.dubbo.common.Constants.ACCEPT_FOREIGN_IP;
5151
import static com.alibaba.dubbo.common.Constants.QOS_ENABLE;
5252
import static com.alibaba.dubbo.common.Constants.QOS_PORT;
53+
import static com.alibaba.dubbo.common.Constants.VALIDATION_KEY;
5354

5455
/**
5556
* RegistryProtocol
@@ -227,7 +228,8 @@ private URL getRegistedProviderUrl(final Invoker<?> originInvoker) {
227228
.removeParameter(Constants.BIND_PORT_KEY)
228229
.removeParameter(QOS_ENABLE)
229230
.removeParameter(QOS_PORT)
230-
.removeParameter(ACCEPT_FOREIGN_IP);
231+
.removeParameter(ACCEPT_FOREIGN_IP)
232+
.removeParameter(VALIDATION_KEY);
231233
return registedProviderUrl;
232234
}
233235

0 commit comments

Comments
 (0)