If the popup link contains fragment eg 'privacy/#cookie'

Rather than try to handle this during the hook_init I've included a patch that will check the URL at the configuration form validation, and throw an error message with a suggested valid URL.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gavin.hughes’s picture

gavin.hughes’s picture

gavin.hughes’s picture

Updated patch to address coding standards :-)

svenryen’s picture

Status: Active » Closed (fixed)

Thank you! I've added the patch to v1.13

  • Commit 92015dd on 7.x-1.x authored by gavin.hughes, committed by svenryen:
    Issue #2173733 by gavin.hughes: Popup link with fragments (error...

  • Commit 92015dd on 7.x-1.x, 7.x-2.x authored by gavin.hughes, committed by svenryen:
    Issue #2173733 by gavin.hughes: Popup link with fragments (error...