Active
Project:
Image Block
Version:
7.x-1.3
Component:
User interface
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2014 at 07:13 UTC
Updated:
29 Mar 2017 at 07:57 UTC
Jump to comment: Most recent
Is there a way to stop ? and = being converted to %3F and %3D? I have links that are query strings (eg gallery/?tid=1) and the url ends up mangled.
My current short term bandaid solution is to use Redirect to redirect (strangely) the mangled url to the proper one and hopefully my clients will only want to change the images on their buttons and not touch the link.
Thank you for the module, saved me having to try to wrangle something :)
Comments
Comment #1
galactus86 commentedthis is a great module. I'm having similar issue trying to add anchor tags to end of a URL, '#" is turned into %23. Any chance there is a patch for this?
Comment #2
cozzamara commentedI got the same issue with query string in link parameter. "?" is converted in "%3F" and "=" in "%3D" in the tag and the url is not valid when clicked.
Please fix it
Comment #3
cozzamara commentedThis happens when in the link field I don't specify full target of link.
For example when the link is "node/2218683" instead of "https://www.drupal.org/node/2218683".
Comment #4
cozzamara commentedAdding this code before
$variables['image'] = l($variables['image'], $data['imageblock_link'], array('html' => TRUE, 'attributes' => $attributes));Solve the issue for me.
Comment #5
cozzamara commentedComment #6
cozzamara commented