Closed (fixed)
Project:
Context links
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
17 Aug 2004 at 07:09 UTC
Updated:
31 Aug 2004 at 19:20 UTC
Contextlinks works wonderfully for local links. Yet, for fully-qualified links like this one
[?external:http://www.dmoz.org/ ODP]
I get this HTML code:
<span class="contextlinks contextlinks-external"><span class="contextlinks-text"><a href="?q=http://www.dmoz.org/" target="_blank">ODP</a></span> <a href="?q=http://www.dmoz.org/" target="_blank"><img src="modules/contextlinks/images/external.gif" alt="external"></a></span>
As you can see, I don't use clean urls (my ISP doesn't provide mod_rewrite), and I'm running drupal in a subdirectory, if this may be of interest.
jan
Comments
Comment #1
jhriggs commentedThis has been fixed in 4.4 and HEAD (1.0.2/2004081700). I made the link creation "smarter." It now checks to see if the URL has a scheme (i.e. http://, ftp://, etc.). If so, the link is used as is; otherwise, the URL is passed through the url() function to create proper Drupal links.
Comment #2
(not verified) commented