Hi, I don't know if this problem has been already fixed, but I found a solution few days ago. The problem is caused by wrong url encoding made by M5Stack: it encodes the white space with a "+" instead of a "%20". You can manually edit the generated url replacing the "+" with "%20" (without quotes) and it will connect to the wifi.
this solution works!! Thanks a lot!