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

tormu created an issue. See original summary.

cm0dit’s picture

@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

jwilson3’s picture

Status: Active » Closed (duplicate)
Related issues: +#3038104: Support hashbang (#!) in URLs

Going to mark this as a duplicate of #3038104.