touchlab / SQLiter

Minimal multiplatform sqlite library
https://touchlab.co
177 stars 35 forks source link

Handle file:// url prefix when fixing the databasePath #80

Closed psh closed 1 year ago

psh commented 2 years ago

Fixed a bug where the database path gained extraneous characters on the end if slashes got stripped from earlier in the string, and added handling for file:// url prefixes in the string, stripping them off as required.

Fixes #57