1. 11 Jan, 2022 1 commit
  2. 10 Jan, 2022 4 commits
  3. 07 Jan, 2022 2 commits
  4. 05 Jan, 2022 2 commits
  5. 04 Jan, 2022 3 commits
  6. 30 Dec, 2021 2 commits
  7. 27 Dec, 2021 1 commit
  8. 23 Dec, 2021 1 commit
  9. 21 Dec, 2021 1 commit
  10. 20 Dec, 2021 1 commit
  11. 17 Dec, 2021 1 commit
  12. 15 Dec, 2021 2 commits
  13. 14 Dec, 2021 2 commits
  14. 13 Dec, 2021 1 commit
    • Helmut Hummel's avatar
      [BUGFIX] Allow slashes as TS keys and escape dots for generated TS · 0e1fc347
      Helmut Hummel authored
      With the introduction of site settings being exposed
      to TypoScript with https://review.typo3.org/64128
      it has become important to allow more characters
      as TypoScript keys. Allowing a slash in addition should
      cover cases where paths are exposed as keys.
      
      Additionally the above change reveals, that the
      ArrayUtility::flatten method does not properly handle
      array keys that has dots in between, as those must
      be escaped to produce a correct result.
      
      This change introduces a new flatten method after
      several failed attempts to guess what fixes might
      not be breaking.
      
      The new method is used in places where no TypoScript
      is used, as in those the weird edge case behaviour
      of the flatten method isn't expected anyway.
      
      The new method is marked internal until it is decided
      how to proceed with the flatten method.
      
      Resolves: #94646
      Releases: main, 10.4
      Change-Id: I4ebad8a0beece975702d8601a343aa1fdaaa285c
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72120
      
      
      Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
      Tested-by: Helmut Hummel's avatarHelmut Hummel <typo3@helhum.io>
      Reviewed-by: Helmut Hummel's avatarHelmut Hummel <typo3@helhum.io>
      0e1fc347
  15. 11 Dec, 2021 1 commit
  16. 10 Dec, 2021 3 commits
  17. 06 Dec, 2021 3 commits
  18. 04 Dec, 2021 1 commit
  19. 03 Dec, 2021 1 commit
  20. 01 Dec, 2021 1 commit
  21. 29 Nov, 2021 1 commit
  22. 28 Nov, 2021 1 commit
    • Stefan Bürk's avatar
      [BUGFIX] Create auto-redirects with default language page uid · 4eee2e86
      Stefan Bürk authored and Benni Mack's avatar Benni Mack committed
      Creating auto redirects, if page slug is changed, has been extended
      to add the target with LinkHandler 't3://' uri schema with #89327,
      adding language argument '_language' to enforce the language for the
      redirect, missing that that did not worked, which was solved through
      adding '_language' argument handling in #96043.
      
      As language arguments '_language' and 'L' are ignored, if the provided
      page uid is already the uid of the localized page, the parameter was
      meaning less. Further this breaks language fallback handling, if the
      localized page record is deleted.
      
      This patch uses now the default language page uid for creating target
      of auto-redirects to mitigate the issue that redirect will break if
      localized page is deleted but language fallback is configured.
      
      Resolves: #96103
      Related: #96043
      Related: #89327
      Releases: master, 11.5, 10.4
      Change-Id: I2ece06bf053bda4edb542910c3f51b1e6c8e052c
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72359
      
      
      Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
      Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      4eee2e86
  23. 25 Nov, 2021 1 commit
    • Stefan Bürk's avatar
      [BUGFIX] Respect '_language' argument for typoLink and LinkHandler · 2aa17407
      Stefan Bürk authored and Benni Mack's avatar Benni Mack committed
      This patch fixes a bug where a t3 page URI with _language != 0
      was resolved to a page in the default language. This caused
      automatically generated redirects to translated pages to
      redirect to the page in the default language.
      
      We now use the same override handling for the '_language'
      parameter (as already existed for 'L') when t3 page URIs are
      resolved. Also, we ensure that both parameters are always removed
      when the final URL is generated. Furthermore, this patch adds
      tests to cover these cases.
      
      Using the historical 'L' parameter still works and has been
      added to be handled as language override.
      
      Background information:
      
      The '_language parameter' is the preferred parameter to
      be used to specify the language in a t3 URI, not 'L'.
      
      The behaviour of creating auto redirects on slug changes
      was changed previously: The target was added as
      LinkHandler URI (instead of the path). Along with this change,
      the '_language' parameter was used to ensure the
      target URL is generated in the needed language (#89327).
      
      This introduced a problem where a redirect always redirected
      to the page in default language if a t3: page URI was used with
      '_language'.
      
      Resolves: #96043
      Related: #89327
      Releases: master, 11.5, 10.4
      Change-Id: I95bdeff4827eed3be30528c02331b9c9ff2836b1
      Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72271
      
      
      Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
      Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
      2aa17407
  24. 22 Nov, 2021 1 commit
  25. 19 Nov, 2021 2 commits