Editor trailing-slash redirect loop

This path always 307s from the no-slash URL to the slash URL. Use it to reproduce the visual editor refresh loop when NavigationHistoryService.sanitizeUrl strips the trailing slash and writes that into the top-frame address bar.

Live location

…

Checking…

How to reproduce (broken editor)

  1. Create a campaign whose primary URL is …/editor-trailing-slash/ (with the slash).
  2. Launch the visual editor on this page.
  3. Watch the address bar: slash is removed, host 307s it back, page reloads, repeat.

Expected after editor fix

Editor keeps the live trailing slash when syncing the top URL. This page stays put; no refresh loop.

Related