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

            Bug ID: 471851
           Summary: kde-open with long custom URI opens browser instead of
                    correct application
    Classification: Plasma
           Product: kde-cli-tools
           Version: 5.27.5
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: aleix...@kde.org
          Reporter: k...@egerlach.mozmail.com
  Target Milestone: ---

SUMMARY
I have cb_thunderlink registered to handle the cbthunderlink:// URI scheme as
described in: https://camiel.bouchier.be/en/cb_thunderlink/installation/linux.
However the links don't successfully open in Thunderbird as expected. I copied
the link to konsole and did some experimenting and found that:

$ kde-open
cbthunderlink://MjAyMy0wNy0wMVQwMzozMzo1NS4wMDBaOyJXaXNlIiA8bm9yZXBseUB3aXNlLmN

worked as expected but

$ kde-open
cbthunderlink://MjAyMy0wNy0wMVQwMzozMzo1NS4wMDBaOyJXaXNlIiA8bm9yZXBseUB3aXNlLmNv

did not.

I noticed that the entire URI is 80 characters and the portion after the "://"
is 64 characters, which is suspicious.

STEPS TO REPRODUCE
1. Install cb_thunderlink as
https://camiel.bouchier.be/en/cb_thunderlink/installation/linux
2. Register the uri scheme handler with "xdg-mime default
cb_thunderlink_cbthunderlink.desktop x-scheme-handler/cbthunderlink"
3. Copy a cbthunderlink link from Thunderbird, or use this one:
cbthunderlink://MjAyMi0xMi0wN1QwNjoxMTowNy4wMDBaOyJBbGlFeHByZXNzIiA8dHJhbnNhY3Rpb25Abm90aWNlLmFsaWV4cHJlc3MuY29tPg==
4. Run "kde-open <uri>"

OBSERVED RESULT
Link opens in default browser

EXPECTED RESULT
Link opens in Thunderbird

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-9-amd64 (64-bit)


ADDITIONAL INFORMATION
I am downloading KDE Neon testing to confirm that I can reproduce there, but I
won't get to that immediately.

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

Reply via email to