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

QDesktopServices URL handlers should match scheme in case insensitive way

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.0 Beta
    • 4.5.3
    • Core: URL Handling
    • None

    Description

      I can register a custom handler for http URL using code like this:

      QDesktopServices::setUrlHandler("http", this, "openUrl");

      After this, opening "http://example.com" will call my handler. However, my handler won't be called when opening "HTTP://EXAMPLE.COM" (in upper case).
      I think this is a bit surprising - I'd expect my handler would be called no matter what casing is used.

      Attachments

        For Gerrit Dashboard: QTBUG-5552
        # Subject Branch Project Status CR V

        Activity

          People

            laknoll Lars Knoll
            machekku Maciej Niedzielski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes