mirror of
https://github.com/taglib/taglib.git
synced 2025-07-25 08:24:29 -04:00
Check invalid Unicode APE keys properly.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user