the bug was already fixed in MDEV-17005, so now only test is added
Attach a file by drag & drop or click to upload