Bug: special characters in sitename breaks MySQL-connection

Hello!

Keep up the good work, Local is amazing and has eased the work as a web developer drasticly.

I found a bug. This is how i triggered it.
I created two new sites:
“MeAndYou”
“Me&You”

The domains and paths are rewritten to “meyou.local” for “Me&You”.

Both seem to work fine, but when connecting to MySQL i get an error.
I use Sequel Pro.

Error:
Error while reading connection data file
Connection data file couldn’t be read.

So it seems like there might be a problem with names containing special characters, maybe they are not sanitized enough and this affects the MySQL container(?).

Kind regards,
Robert Sæther.

1 Like

Hey Robert,

Thanks so much for the bug report!

I was able to reproduce this with the instructions you provided. I’ll make sure this is addressed sooner than later :slight_smile:

Also, we’re glad to hear Local has improved your workflow!

Related Thread: Sequel Pro button not responding


Heads up, we’ve created a fix for this and it’ll be in the next update! :slight_smile: