vosbergw opened a new issue, #3996: URL: https://github.com/apache/couchdb/issues/3996
[NOTE]: # ( ^^ Provide a general summary of the issue in the title above. ^^ ) ## Description Trying to create a database using 'curl -X PUT' or using Fauxton throws an illegal_database_name error if there is a '+' in the name. [NOTE]: # ( Describe the problem you're encountering. ) [TIP]: # ( Do NOT give us access or passwords to your actual CouchDB! ) ## Steps to Reproduce ``` curl -X PUT https://localhost:6984/test+database --cookie 'AuthSession=<session>' {"error":"illegal_database_name","reason":"Name: 'test database'. Only lowercase characters (a-z), digits (0-9), and any of the characters _, $, (, ), +, -, and / are allowed. Must begin with a letter."} ``` Notice that in the error message the '+' is stripped from the name. The same occurs in the Fauxton error message. [NOTE]: # ( Include commands to reproduce, if possible. curl is preferred. ) ## Expected Behaviour '+' is a valid character in the database name per the documents AND the resulting error message. [NOTE]: # ( Tell us what you expected to happen. ) ## Your Environment * CouchDB v3.2.1 * Ubuntu 20.04.4 {"couchdb":"Welcome","version":"3.2.1","git_sha":"244d428af","uuid":"111b48e095272974fc7a1dcdb31bfad2","features":["access-ready","partitioned","pluggable-storage-engines","reshard","scheduler"],"vendor":{"name":"The Apache Software Foundation"}} [TIP]: # ( Include as many relevant details about your environment as possible. ) [TIP]: # ( You can paste the output of curl http://YOUR-COUCHDB:5984/ here. ) ## Additional Context [TIP]: # ( Add any other context about the problem here. ) -- 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]
