SiteScan Theme Upload fails with Ampersand

I have a (selfmade) theme called “Name & Name” in style.css:
// Theme Name: Company Name & Name

When I do a site scan with Cerber, it lists the theme by the correct name and attaches the “No integrity data” label as expected.

When I now click on “Resolve issue”, the dialog opens and it says:
We have not found any integrity data to verify Name & Name v. 0.0.79.

When uploading the .zip with the original theme data, it errors out with:
Error: file name_name_theme.zip cannot be used. No files in the uploaded archive contain a valid plugin name. Please upload another file.

Removing the Ampersand from both the installed and uploaded theme solves the issue.

So it looks like an entity decoding problem.

Thanks for reporting this. We’ll investigate it shortly.

1 Like