Review patch
Mark Kretschmann
kretschmann at kde.org
Sun Apr 6 12:14:44 UTC 2008
On 4/6/08, Tom Vollerthun <Vollerthun at gmx.de> wrote:
> my collection contains mp3s with characters that are invalid XML-Chars (like \1). This escapes the check in src/collectionscanner/collectionscanner.cpp:514 and leads to the abortion of the run-method in XmlParseJob::run and consequently to a CollectionBrowser that doesn't contain my collection.
>
> The attached patch allows only tags with printable characters and allows the collectionscanner to finish successfully on my collection. I would prefer to simply remove the invalid characters from the tag instead of skipping the complete tag, but that remains to be discussed.
>
> I am preparing a unit-test to verify the bug and the fix.
>
> Please review the patch and, if you think it is approbriate, use it.
Thanks Tom, your patch looks good. I've committed it to Amarok trunk
(2.0) in SVN.
Hm, I wonder if we should also backport this to the 1.4 branch.
--
Mark
More information about the Amarok
mailing list