links_goto_link() redirecting is broken in 4.7RC1 due to the base path missing from the URL injected in to the HTTP headers.

This only applies to internal Drupal links - as they have not originally been passed as fully qualified urls. Should all urls stored by links.module be fully qualified?

Comments

syscrusher’s picture

I've just posted a fix to CVS that I believe will take care of this. Please test and let me know if it fixes the problem for you.

Thanks for the bug report.

Scott

syscrusher’s picture

Assigned: Unassigned » syscrusher
Status: Active » Needs review
lennart’s picture

Title: Link redirecting broken » Link redirecting broken with CLEAN urls enabled

When clean URLs are enabled I cannot get redirecting to work - works fine without

lennart’s picture

on another host I am not having this problem though

lennart’s picture

Title: Link redirecting broken with CLEAN urls enabled » Link redirecting broken with CLEAN urls enabled on some systems

on the problem host a link such as:

problemhost.com/links/goto/67/1/links_related

would lead to an access denied outside the drupal system (apache)

but any other kind of link seems to work fine with clean URLs.

the following works fine:

http://eliberator.org/?q=links/goto/67/1/links_related

syscrusher’s picture

Just checking in -- I believe this has been fixed, but wanted to be sure before closing the issue. Please let me know, and be sure to use the latest version as there was a related patch applied circa July 28.

Scott

lennart’s picture

I am still having this problem on one host - but it seems to be specific to that particular host. Set this to fixed if you wish.

Thanks
Lennart