Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-16938

QDesktopServices::openUrl does not properly encode mailto: urls before passing them to the protocol handler on windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 4.7.1
    • Core: URL Handling
    • None
    • Windows 7

    Description

      QDesktopServices::openUrl passes the string representation of the url to the program registered for the mailto: url instead of the properly encoded variant. This leads to problems if the url contains special characters (In our case we tried to prepopulate the message body with a few lines, thunderbird completely ignored the linebreaks, "The Bat" only showed the first line). With the attached patch everything worked as expected.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            andkit Andy Kittner
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes