sluggi icon indicating copy to clipboard operation
sluggi copied to clipboard

Editors can bypass basic.last_segment_only=1

Open seirerman opened this issue 2 years ago • 4 comments

I noticed that some of the pages created by editors had shortened URLs like /pagetitle, when they were actually located several levels deep in the page tree. That was odd, because basic.last_segment_only is set to 1, so that editors can only edit the last part of the URL.

That feature works fine if an editor creates a new page through drag&drop, or edits the page properties.

It does NOT work when an editor creates a new page through the context menu in the page tree. Pages created that way have their URL shortened like a redirect.

Sluggi might be missing something here. It would be nice if you could take a look...

[TYPO3 11.5.31 | sluggi 3.0.3]

seirerman avatar Sep 21 '23 07:09 seirerman

The same bug occurs in "Page tree > context menu > More options... > 'Create new' wizard".

seirerman avatar Sep 21 '23 08:09 seirerman

Thanks for the report, I'll try this out.

wazum avatar Sep 21 '23 08:09 wazum

This also happens when an editor creates a new page in the list module,which starts the same wizard as the context menu in the page tree.

seirerman avatar Feb 26 '24 12:02 seirerman