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

Stefano Crocco <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/netw
                   |                            |ork/konqueror/commit/253b1f
                   |                            |25ff7bd8ba8deaee3f419270caa
                   |                            |ec9493c

--- Comment #7 from Stefano Crocco <[email protected]> ---
Git commit 253b1f25ff7bd8ba8deaee3f419270caaec9493c by Stefano Crocco.
Committed on 09/11/2022 at 13:34.
Pushed by stefanocrocco into branch 'master'.

Fix UrlLoader behavior in special cases

This fixes two issues:
- a bug causing URLs with schemes like ftp to always be opened in
  external applications. This happens because for these protocols
  KIO::OpenUrlJob doesn't emit the mimeTypeFound signal. To fix this, we
  explicitly use KIO::MimeTypeFinderJob to determine the mimetype of the
  URL
- a bug causing an attempt to open local URLs corresponding to
  nonexisting paths using the smb ioslave. This is fixed by explicitly
  checking whether the file exists and assigning it an "inode/directory"
  if it doesn't exist. This way, the URL is opened by whatever
  part/application the user chose to display directories (of course,
  that part or application will then fail to open the path).

M  +67   -40   src/urlloader.cpp
M  +7    -4    src/urlloader.h

https://invent.kde.org/network/konqueror/commit/253b1f25ff7bd8ba8deaee3f419270caaec9493c

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

Reply via email to