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.
http://www.example.com?key1=value1#!key2=value2 causes validation not to pass.
http://www.example.com?key1=value1 works
http://www.example.com#!key2=value2 works
but the combination of both of these doesn't seem to be working though I see no reason why it wouldn't be a valid URL.
Switching them around to http://www.example.com#!key2=value2?key1=value1 causes the same validation error.
Comments
Comment #2
cm0dit CreditAttribution: cm0dit commented@tormu
I know it's been some time since you've post this, but we've recently ran into a similar issue where we needed to link to a url using the hashbang(#!) that prevented us from updating content causing validation errors.
Checkout the hashbang-7.x-1.4.patch here: https://www.drupal.org/project/link/issues/3038104
Comment #3
jwilson3Going to mark this as a duplicate of #3038104.