mtenrero opened a new issue #3319:
URL: https://github.com/apache/couchdb/issues/3319


   
   
   ## Description
   
   Configuring values in local.ini file with a key which has the = (equal) 
character are not read appropriately, as the first occurrence gets read as the 
key / value delimiter. 
   
   I've no found a way to escape that character inside the key. It's required 
for some JWT tokens with kids including that character.
   
   ## Steps to Reproduce
   
   Configure it in the local.ini file directly, or using the API (if so, it 
will work until the instance gets restarted) with a key containing equal 
character:
   
   ```ini
   [jwt_keys]
   rsa:h213h2h1jg3hj2= = <somevalue>
   ```
   
   ## Expected Behaviour
   
   It should be parsed as `rsa:h213h2h1jg3hj2=` -> `<somevalue>` instead of 
`rsa:h213h2h1jg3hj2` -> `= <somevalue>`
   
   ## Your Environment
   
   Debian and MacOS latest 3.x:  `couchdb-3.1.1.87a6b1a`
   


----------------------------------------------------------------
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.

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


Reply via email to