Escape slash in database name
This commit is contained in:
parent
4337e676ee
commit
190bd13723
2 changed files with 10 additions and 2 deletions
|
@ -17,7 +17,7 @@ module CouchRest
|
|||
@name = name
|
||||
@server = server
|
||||
@host = server.uri
|
||||
@uri = @root = "#{host}/#{name}"
|
||||
@uri = @root = "#{host}/#{name.gsub('/','%2F')}"
|
||||
@streamer = Streamer.new(self)
|
||||
@bulk_save_cache = []
|
||||
@bulk_save_cache_limit = 500 # must be smaller than the uuid count
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue