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

            Bug ID: 498019
           Summary: URL Passed to Schema Handler is Altered
    Classification: Frameworks and Libraries
           Product: frameworks-kio
           Version: 6.9.0
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kio-bugs-n...@kde.org
          Reporter: mrg...@gr1m.org
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

There appears to be some kind of attempt at normalizing or rebuilding a
protocol handler URL causing the URL to be altered before it is passed to the
handler. The specific case I encountered this is with the game Vintage Story.
It allows installing mods through such a handler. An example URL it would pass
is:

vintagestorymodinstall://vsimgui@1.1.7

Running kioclient exec 'vintagestorymodinstall://vsimgui@1.1.7' results in the
following URL being passed to the application:

vintagestorymodinstall://vsimgui@1.1.0.7

This looks to me like it's trying to parse the URL and treating it as a
username and an IP address. My understanding is that it is the role of the
handler to interpret the contents of the URL and it should be passed unchanged.
In this case these components represent a mod name and a version number.

I tried to track this down but got lost somewhere in between openurljob.cpp and
applicationlauncherjob.cpp.

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

Reply via email to