Problem/Motivation

It appears that the newest version of this module breaks functionality when it comes to including URLs with parameters.

That is the URL Parameters get trimmed off of the end of the URL.

Example:

http://example.com/index.php?event_id=1 is now being rendered as http://example.com/index.php

How to Reproduce

My particular situation involves views.

Add the Link Field with the Formatter "URL, as plain text"
Rewrite the output of this field:
<a id="some-id" href="[field_my_link-url]">My Link</a>

When the view is displayed all URLS with this structure http://example.com/index.php?event_id=1 are replaced with http://example.com/index.php

Immediate Solution

Seeing as how the latest version is not a security update. The logical conclusion is to downgrade.

Comments

rbrownell’s picture

Issue summary: View changes
rbrownell’s picture

Issue summary: View changes
Matt B’s picture

Same here - my sites are now broken as a result of the upgrade. Downgraded to 7.x-1.2 and its now working again.

krabbe’s picture

Same for me. I also downgraded to 1.2 and got it back working.

hoyum’s picture

The patch on this issue https://www.drupal.org/node/2361283 solves the problem

rocket777’s picture

Same for me. Downgraded to 1.2 and it's fine.

geerlingguy’s picture

Status: Active » Closed (duplicate)

This is a duplicate of #2367069: Link 1.3 removes the query string from field tokens. If you download the latest -dev release of Link, it should be fixed.