typesense / typesense-ruby

Ruby client for Typesense: https://github.com/typesense/typesense
Apache License 2.0
75 stars 8 forks source link

Collections with slash in name cannot be deleted #28

Closed honzasterba closed 2 months ago

honzasterba commented 1 year ago

Description

When you create a collection with / in the name, its impossible to work with such collection and eventually delete it

Steps to reproduce

create collection with / in the name try deleting it or importing some data into it

Expected Behavior

collection gets deleted (internally the client should escape slash (/) with %2F whenever collection name is put in the URL path

Actual Behavior

404 is retuned

Metadata

Typesense Version: any

OS: any

JoeGonzalez0886 commented 10 months ago

problem across all typsense libs not just ruby.