Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-15871

Metadata and language switcher truncate the civicrm urls in drupal

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.4.11, 4.5.5
    • Fix Version/s: 4.4.13, 4.6
    • Component/s: None
    • Labels:
    • Documentation Required?:
      None

      Description

      Drupal generally uses clean urls and does not recognise CiviCRM parameters on urls in several circumstances. Specifically here the metatag and language switcher modules wind up with truncated urls such as 'civicrm/contribution/transact' rather than 'civicrm/contribution/transact?reset=1&id=2'.

      This results in people being switched onto invalid urls (language switcher) or metatags with poor metatag being crawled (metatag).

      I have a PR with hooks that tackle this behaviour in these two modules. Credit to Mathieu Lutfy for the language switcher part which he CRM-11823 - If Civi bootstrapped, then merge its HTML header with the CMS's he published some time ago.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eileen Eileen McNaughton
                Reporter:
                eileen Eileen McNaughton
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: