Issue Bug Closed

#100288chash is corupted when send as an http link in mail program

Andreas Oelkers 03/24/23, 13:47 updated 07/10/24, 07:17

Description

Hello,

i have a problem when i send an link by email. The link is created via uriBuilder with an valid chash.
First i thought it is an email problem, but it is not working with several email programs.

i create an url with uriBuilder in the the controller.
@$link = $this->uriBuilder->reset()
->setTargetPageUid($pid)
->setNoCache(TRUE)
->setCreateAbsoluteUri(TRUE)
->setLanguage(‘en_EN’ )
->uriFor( $action,
[ $parameter ],
$controller,
$extension,
$plugin );@

then i send it in an email as link.

<a href="https://bastel.haste.de/bastel/termine?no_cache=1&tx_bbaotermin_c%5B0%5D%5Bhash%5D=MjE3MTIyMDExNQ%3D%3D&tx_bbaotermin_c%5Bcontroller%5D=Termin&cHash=d0372a70246a6d99d76760eec2d10144" > Termin best&auml;tigen</a>

When i click in the link in the email i get:

404 Page not found chash empty
the link called looks like this:

https://bastel.haste.de/bastel/termine?no_cache=1&tx_bbaotermin_c%5B0%5D%5Bhash%5D=MjE3MTIyMDExNQ%3D%3D&tx_bbaotermin_c%5Bcontroller%5D=Termin&cHash%EF%BF%BD372a70246a6d99d76760eec2d10144

When i access the source code of the email and copy and paste the url in a browser it is working.
@https://bastel.haste.de/bastel/termine?no_cache=1&tx_bbaotermin_c%5B0%5D%5Bhash%5D=MjE3MTIyMDExNQ%3D%3D&tx_bbaotermin_c%5Bcontroller%5D=Termin&cHash=d0372a70246a6d99d76760eec2d10144@

Reviews 0

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