You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2022/04/19 16:16:05 UTC
[GitHub] [couchdb] big-r81 commented on issue #3996: Cannot create database with '+' in name
big-r81 commented on issue #3996:
URL: https://github.com/apache/couchdb/issues/3996#issuecomment-1102840724
Hi,
you need to encode the `+` to `%2b`. A `+`in an url is a special char (whitespace).
Try
```bash
curl -X PUT http://127.0.0.1:15984/test%2bdatabase
```
and you get
```json
{"ok":true}
```
List all dbs:
```json
["_replicator","_users","test","test+database"]
```
--
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@couchdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org