~osomon/unity-2d/drag-from-dash

Viewing all changes in revision 562.

  • Committer: Olivier Tilloy
  • Date: 2011-05-05 14:19:32 UTC
  • Revision ID: olivier.tilloy@canonical.com-20110505141932-xapv6fem32s9e8mx
Fix the "application://" URLs passed by the backend.

The backend builds URLs of the form "application://filename.desktop". Strictly speaking, this is not a valid URL as the filename takes the position of the host.
This is problematic because the QUrl constructor converts the host name to lower case to conform to the Nameprep RFC (see http://doc.qt.nokia.com/qurl.html#FormattingOption-enum), thus loosing the case of the filename.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: