← Back to team overview

ubuntu-phone team mailing list archive

WARNING: Use application:/// URLs, not application://

 

        Hi there,

we just got this bug:
    https://bugs.launchpad.net/unity-scope-click/+bug/1231393

Unity 8 happens to use QUrl for parsing URLs and then opens them with
QDesktopServices::openUrl().  QUrl will lowercase the hostname part of
URLs and this can't be turned ooff.  The openUrl() use case is by
design, so can't switch to e.g. QString or would need Unity 8 to map
application:// to application:/// URLs (that would be ok though).

Please, if you maintain a component generating or consuming
application:// URLs, would you make sure the app name or .desktop file
name remains mixed case through your component and/or that you pass it
in the path part of the URL to other components?

   Thanks!
-- 
Loïc Minier


Follow ups