Problem/Motivation
When CustomElementsViewSubscriber redirects to the back end, it prepends a slash to the request URI. Request URIs should already begin with a slash, but there is a separate bug I discovered over in #3336148: Add support for drupal forms in the frontend where the slash is incorrectly stripped when the custom elements subrequest is processed.
As it stands this code currently works, but if the linked patch is committed then this will need to be updated here as well.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3357157-2.patch | 917 bytes | longwave |
Comments
Comment #2
longwaveIn combination with the patch from #3336148: Add support for drupal forms in the frontend this provides consistent URLs (no double slashes, or missing path components) when switching between the backend and frontend on forms or via redirects.
Comment #3
fagoRight. Clarifying issue title that this only affects the redirects.
Comment #4
fagoComment #6
fagoIndeed. Tested - it needs #3363234: Subrequests request URI must have a leading slash to stay working, so we'll move on with that separately.