Bug #100288
closedchash is corupted when send as an http link in mail program
0%
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ä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
Updated by Stefan Froemken over 1 year ago
- Status changed from New to Needs Feedback
Hello Andreas,
In your link I see following HEX values: %EF%BF%BD
I know these HEX values. They are representing the BOM in UTF-8 files:
https://de.wikipedia.org/wiki/Byte_Order_Mark
Please not not work with BOM in any of your files.
Stefan
Updated by Georg Ringer 4 months ago
- Status changed from Needs Feedback to Closed
closing because lack of feedback. if still valid in v12, please open a new issue and reference this or contact me on slack