Hi,
We want to use this CCK field to add apt links for Debian Ubuntu. But the output is not correct.

output must be: apt://amarok
but what we are getting is :
http://www.example.com/apt%3A/%252Famarok%2Clibxine1-gnome

Comments

jcfiala’s picture

Status: Active » Postponed (maintainer needs more info)

Fair enough.

You might just need to add apt as one of the values in the variable filter_allowed_protocols, which is set up in core. The default value is array('http', 'https', 'ftp', 'news', 'nntp', 'telnet', 'mailto', 'irc', 'ssh', 'sftp', 'webcal'), but it shoudln't be too hard to update it elsewhere to include 'apt'.

Once you do that, give it a try and see if it works - if it doesn't, then come back with the errors you're getting, change the status back to active, and we'll look into figuring out a patch.

If it does work, come back and change the status to fixed!

arnieswap’s picture

Status: Postponed (maintainer needs more info) » Active

Hi, Jcfiala,
Thanks. I tried to add 'apt' in the link.module. But when I am put apt://amarok,libxine1-gnome in the filed during node creation, I am still getting the same output:
http://www.example.com/apt%3A/%252Famarok%2Clibxine1-gnome its must be just apt://amarok,libxine1-gnome and call for Ubuntu Software Center.

Swapnil

arnieswap’s picture

any update?

jcfiala’s picture

If there's an update, it'll get posted here. Right now my major concentration is on updating link for Drupal 7. I'm happy to accept any patches, though.

DamienMcKenna’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Thank you all for your efforts, but I'm sorry to say that the D6 version is no longer supported.