Issue Bug Closed

#101753DDEV & Traefic substitute semi-colon to ampersand in URLs

Oliver Hader 08/25/23, 13:23 updated 02/14/25, 15:08

Description

With v1.22+ DDEV recently started to use Traefic as routing service – and Traefic has an issue with substituting “;” to “&” in URLs:

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

—-

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.