[BUGFIX] Fix exporting content elements

Exporting a content element leads to a fatal error.
A wrong url encoding is the cause of the problem.

Resolves: #58576
Releases: 6.2
Change-Id: Ib2105aa9dc95e35eba9515cfc3d62b174919870a
Reviewed-on: https://review.typo3.org/29903
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs