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 guys,
If I configure a link field and save a URL with a multi-value field value, when the link is rendered, the actual link rendered only contains the last value in the URL.
E.g ?key[]=abc&key[]=def&key=ghi will be rendered as ?key[]=ghi
I believe that this is because the _link_parse_str() function (http://cgit.drupalcode.org/link/tree/link.module#n703) doesn't check if a key exists within $query_array when it is assigning a value.
Comments