Check invalid Unicode APE keys properly.

This commit is contained in:
Tsuda Kageyu
2016-11-09 00:28:35 +09:00
parent 9d58e9f8e8
commit 499f6db977
2 changed files with 5 additions and 2 deletions

View File

@ -299,7 +299,7 @@ bool APE::Tag::checkKey(const String &key)
if(key.size() < MinKeyLength || key.size() > MaxKeyLength)
return false;
return isKeyValid(key.data(String::Latin1));
return isKeyValid(key.data(String::UTF8));
}
APE::Footer *APE::Tag::footer() const