Fengxq2014 opened a new issue #6522:
URL: https://github.com/apache/apisix/issues/6522


   ### Issue description
   
   When using $ in nacos password in config.yaml following the document from 
[https://apisix.apache.org/docs/apisix/discovery/nacos](https://github.com/apache/apisix/issues/url).
   At starting time the nacos report error
   
   ### Environment
   
   - apisix version (cmd: `apisix version`): 2.12.1
   - OS (cmd: `uname -a`): linux
   
   
   ### Steps to reproduce
   
   1. Config following yaml fragment in config.yaml
   ```
   discovery:
     nacos:
       host:
         - "http://nacos:NOK1&;(&*!#[email protected]:8848"
   ```
   2. Start apisix
   
   ### Actual result
   
   apisix start report error
   
   ### Error log
   
   [lua] init.lua:124: get_token_param(): nacos login fail:nacos 
NOK1&(&*!#3$%24 desc:status = 403, context: ngx.timer
   [lua] init.lua:249: get_token_param error:status = 403, context: ngx.timer
   
   ### Expected result
   
   _No response_


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to