tursodatabase / libsql-client-go

Go client API for libSQL
MIT License
159 stars 23 forks source link

bugfix: handle trailing slash in the request URL #91

Closed avinassh closed 7 months ago

avinassh commented 7 months ago

Closes: https://github.com/tursodatabase/libsql/issues/770

Reported here: https://github.com/pressly/goose/issues/655#issuecomment-1847454551

Since we pass around the URL string, in case of trailing slash, the final URL ended up being: https://mydb-avinassh.turso.io//v2/pipeline

penberg commented 7 months ago

Looks sensible, but let's let @haaawk have a look before merging.