Problem/Motivation
I have a site whose base URL is:
(my local machine is called "wren").
I installed with standard profile in English, then turned on the 4 multilingual modules, added Spanish, and made nodes translatable. I added some content and translated it.
Then I go to the admin/content page. The full URL of that page is:
http://wren/~d8git/admin/content
In one of the lines, I click the Delete link in the operations drop-down, which either takes me to a node delete confirm page or a translation delete confirm page. The URL is one of these:
http://wren/~d8git/node/3/delete?destination=/%7Ed8git/admin/content
http://wren/~d8git/es/node/3/delete?destination=/%7Ed8git/admin/content
But on both of those pages, if I click Cancel, it tries to take me back to:
http://wren/~d8git/~d8git/admin/content
This URL does not work. The link has the wrong URL.
If I instead click the Delete confirmation button, I get back to
http://wren/~d8git/admin/content
so it is just the confirm URL that is not right.
Proposed resolution
Fix the confirm URL in the node/translation delete confirm form.
Remaining tasks
Make a patch. Test it. May need an automated test but right now the automated tests are passing... do we have a way to test installing where the base URL is something like this?
User interface changes
The cancel link will work on sites with different base URLs.
API changes
None.
Data model changes
None.