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

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/discover/-/commit/1b9b31 |ma/discover/-/commit/4edc09
                   |4aeb4eab49ca6cb93abcc22c79a |3462d867084bca5ea1de708878b
                   |85dfd6c                     |ae2e4cf

--- Comment #6 from Nate Graham <n...@kde.org> ---
Git commit 4edc093462d867084bca5ea1de708878bae2e4cf by Nate Graham.
Committed on 02/08/2024 at 23:33.
Pushed by ngraham into branch 'Plasma/6.1'.

Only chop off leading @ from tokenized license text if needed

Apparently at some point in the past, tokenized non-SPDX license labels
got prefixed with "@". As a result, the code unconditionally chopped
off the first character.

At some point, tokenizing stopped always doing that, causing some
license labels to be shown with their first letter missing.

I don't know if the prepending might come back in the future, so to be
safe, let's only conditionally remove the first character if it's "@".
FIXED-IN: 6.1.4


(cherry picked from commit 1b9b314aeb4eab49ca6cb93abcc22c79a85dfd6c)

Co-authored-by: Nate Graham <n...@kde.org>

M  +7    -1    libdiscover/appstream/AppStreamUtils.cpp

https://invent.kde.org/plasma/discover/-/commit/4edc093462d867084bca5ea1de708878bae2e4cf

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

Reply via email to