Review 12.4 Merged

79734[BUGFIX] Consider path links with leading slash as `url`

Stefan Bürk CR +2 V +2 Hard +403 −507 updated 07/05/23, 13:10

Commit message

`ext:redirects` allowed to redirect to absolute target
path. With #97159 the target field TCA type has changed
and did not allowed to enter a path identifier since then.

This change lets the `LinkService` resolve a path identifier
not matching a file or folder as type `URL` and restore the
ability to create path based redirect target links.

Additionally, it's now possible again to link directly `/`
again in link fields or RTE fields (#97693).

The underlying solution is that "old-school" links to files
(before FAL) to e.g. "fileadmin/mydownload.exe" is now
actually treated as an external URL, and not as a automatically
detected file anymore.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 3

Files 10