Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
jcfiala CreditAttribution: jcfiala commentedFair 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!
Comment #2
arnieswap CreditAttribution: arnieswap commentedHi, 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
Comment #3
arnieswap CreditAttribution: arnieswap commentedany update?
Comment #4
jcfiala CreditAttribution: jcfiala commentedIf 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.
Comment #5
DamienMcKennaThank you all for your efforts, but I'm sorry to say that the D6 version is no longer supported.