Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21513

Remove PathPrefix if applicable in ezpLanguageSwitcher

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • None
    • Language
    • None

    Description

      Obviously PathPrefix should not change between 2 translations but as language switcher basically works as a SiteAccess switcher, it may be used to generate link URLs accross siteaccesses with different path prefixes.

      Proposed fix : https://github.com/ezsystems/ezpublish-legacy/pull/483

      Added code was adapted from eZContentObjectTreeNode::urlAlias()

      Attachments

        Activity

          People

            Unassigned Unassigned
            bchoquet bchoquet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: