Project

General

Profile

Feature #641

Handle custom url protocols

Added by nhnFreespirit over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Quassel GUI (Qt)
Target version:
Start date:
03/24/2009
Due date:
% Done:

0%

Estimated time:
OS:
Any

Description

It would be cool if Quassel would handle, and make clickable, urls with protocols other than just http://

In my particular case, it would make it possible to use Quassel to send "amarok urls" to other users, useful, for instance, for showing others cool finds in the integrated services.. An example of such an url could be:
amarok://navigate/service/Magnatune.com/album/album:"Public%20Service%20Announcement"%20AND%20artist:"The%20Proper%20Authorities"

Amarok installs its own protocol hander for this, and clicking it would make Amarok automatically navigate to that album in the Magnatune service.

Other uses could be allowing users to share KIO links, for instance, showing a user how to use the audio cd integration by posting a link to audiocd://

History

#1 Updated by Sputnick over 12 years ago

  • Category changed from Quassel Client to Quassel GUI (Qt)
  • Status changed from New to Feedback
  • Assignee set to Sputnick

Well, I'll commit the arbitrary-protocol-stuff in a minute, but the URI you gave me still fails with it because as far as I know, quotes (") are not allowed in URIs (and Quassel treats a " as delimiter). As you can see, even Redmine failed in parsing your comment :) Also I wouldn't know how to use a quote-containing URI in a href tag, for example. So if Amarok gives you such URIs, you should really think of properly escape them instead :)

Also see RFC 3986 2.2 and 2.3, the quote character is neither a reserved nor an unreserved character, thus not allowed in URIs, except I'm misreading the RFC.

#2 Updated by Sputnick over 12 years ago

  • Status changed from Feedback to Resolved
  • Target version set to 0.4.1

Closing this, as there has been no further feedback. If somebody wants to convince me that amarok URLs like the one given as an example should be accepted as well, please reopen.

Also available in: Atom PDF