#101753DDEV & Traefic substitute semi-colon to ampersand in URLs
Description
With v1.22+ DDEV recently started to use Traefic as routing service – and Traefic has an issue with substituting “;” to “&” in URLs:
- https://ddev.readthedocs.io/en/stable/users/extend/traefik-router/
- https://github.com/traefik/traefik/issues/9164
- https://github.com/traefik/traefik/pull/9131/files#diff-f7d7f0e8fef165ce3ca78be8f4d887b323d564a29b25d416a6a7d2b0e9ff7df7R50
Traeffic offers the option @encodeQuerySemicolons@ to actually control the behavior, however I was not able to adjust the corresponding configuration in DDEV.
For the time being, Traeffic can be disabled in general, by using ddev poweroff && ddev config global --router=nginx-proxy.
This affects how URLs in the TYPO3 backend scope are handled, e.g (this list is probably not complete, yet):
- /typo3/wizard/record/browse?token=[…]&mode=file&bparams=|||allowed=gif,jpg,jpeg,tif,tiff,bmp,pcx,tga,png,pdf,ai,svg
;disallowed=|data-138-tt_content-1850-background_image-sys_file_reference&contentOnly=1&expandFolder=1%3A%2Ft3con23%2Fimages%2F- will be interpreted as
/typo3/wizard/record/browse?token=[…]&mode=file&bparams=|||allowed=gif,jpg,jpeg,tif,tiff,bmp,pcx,tga,png,pdf,ai,svg&disallowed=|data-138-tt_content-1850-background_image-sys_file_reference&contentOnly=1&expandFolder=1%3A%2Ft3con23%2Fimages%2F - causes a failure in
\TYPO3\CMS\Filelist\ElementBrowser\FileBrowser::initialize
- will be interpreted as
—-
Long-term, these URLs (especially the semi-colon “&”) should be correctly URL-encoded.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.