https://bugs.kde.org/show_bug.cgi?id=446601

--- Comment #6 from Dmitry Kazakov <dimul...@gmail.com> ---
Git commit 5b488f0b23280b9b106c8dede4b3b28e4334ca58 by Dmitry Kazakov.
Committed on 09/12/2021 at 13:13.
Pushed by dkazakov into branch 'master'.

[not for 5.0] Add a sanity check for KoResource filename

The resource filenames in Krita 5.x cannot have slashes inside, that is,
they should be "file names", not "file paths". That is quite a dramatic
change that happened during 4.x->5.x transition. And some of our code
that loads the embedded resources can still initialize the resource with
the full file path.

This patch adds a sanity check into KoResource to catch this case earlier.

M  +6    -0    libs/resources/KoResource.cpp

https://invent.kde.org/graphics/krita/commit/5b488f0b23280b9b106c8dede4b3b28e4334ca58

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to