You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "Charcla (via GitHub)" <gi...@apache.org> on 2026/02/06 06:08:34 UTC

[I] [Bug] why check nacos password by Pattern [dubbo]

Charcla opened a new issue, #16073:
URL: https://github.com/apache/dubbo/issues/16073

   ### Pre-check
   
   - [x] I am sure that all the content I provide is in English.
   
   
   ### Search before asking
   
   - [x] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Apache Dubbo Component
   
   Java SDK (apache/dubbo)
   
   ### Dubbo Version
   
   jdk:21,dubbo version:3.3.5 ,spring.cloud.nacos.version:3.0.3
   
   
   
   
   ### Steps to reproduce this issue
   
   because of the Company audit requirements,my nacos password need contains:@,!
   I cannot use simple password.
   at the beginning,my nacos password contains & character,but dubbo url need this password,and & character Affected URL parameter parsing。so I removed &。
   
   classname:ConfigValidationUtils。
   and I find it only logged error, actually has no effect。
   I wanted to know why has this check and Will there be any bugs later if I don't change my password?
   
   
   
   
   ### What you expected to happen
   
   if no effects,can remove this log?
   
   ### Anything else
   
   _No response_
   
   ### Do you have a (mini) reproduction demo?
   
   - [ ] Yes, I have a minimal reproduction demo to help resolve this issue more effectively!
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [ ] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Bug] why check nacos password by Pattern [dubbo]

Posted by "zrlw (via GitHub)" <gi...@apache.org>.
zrlw closed issue #16073: [Bug] why check nacos password by Pattern
URL: https://github.com/apache/dubbo/issues/16073


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Bug] why check nacos password by Pattern [dubbo]

Posted by "Zjianru (via GitHub)" <gi...@apache.org>.
Zjianru commented on issue #16073:
URL: https://github.com/apache/dubbo/issues/16073#issuecomment-3872219615

   Hi, I've submitted a PR to fix this.
   Since `password` field is already checked for length in `validateRegistryConfig`, it should be exempted from the strict pattern check in `checkParameterName`, which allows users to use complex passwords containing special characters.
   
   PR: #16082
   
   ---
   
   你好,已提交 PR 修复此问题。
   由于 `password` 字段在 `validateRegistryConfig` 中已有长度校验,建议将其从 `checkParameterName` 的严格正则校验中排除,以支持包含特殊字符的复杂密码。
   
   PR: #16082


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


Re: [I] [Bug] why check nacos password by Pattern [dubbo]

Posted by "Charcla (via GitHub)" <gi...@apache.org>.
Charcla commented on issue #16073:
URL: https://github.com/apache/dubbo/issues/16073#issuecomment-3874884624

   > Hi, I've submitted a PR to fix this. Since `password` field is already checked for length in `validateRegistryConfig`, it should be exempted from the strict pattern check in `checkParameterName`, which allows users to use complex passwords containing special characters.
   > 
   > PR: [#16082](https://github.com/apache/dubbo/pull/16082)
   > 
   > 你好,已提交 PR 修复此问题。 由于 `password` 字段在 `validateRegistryConfig` 中已有长度校验,建议将其从 `checkParameterName` 的严格正则校验中排除,以支持包含特殊字符的复杂密码。
   > 
   > PR: [#16082](https://github.com/apache/dubbo/pull/16082)
   
   thanks


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org