Issue Bug Closed

#23816Wrong link generated with "Always prepend this domain in links"

Michael Birchler 10/21/10, 14:06 updated 08/26/11, 09:37

Description

If “Always prepend this domain in links” in sys_domain is checked or a extension such as https_enforcer is used typolink generates absolute links.

tx_felogin_pi1::generateAndSendHash doesn’t respect this and generates faulty links eg:
instead https://www.domain.ch/de/login/?tx_felogin_pi1%5Buser%5D=4&tx_felogin_pi1%5Bforgothash%5D=1287704628%7Cf642e97d25908a1c2e2231a5a4d75ba6 the link looks like: https://www.domain.ch/https://www.domain.ch/de/login/?tx_felogin_pi1%5Buser%5D=4&tx_felogin_pi1%5Bforgothash%5D=1287704628%7Cf642e97d25908a1c2e2231a5a4d75ba6

(issue imported from #M16097)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.