Skip to content

Reject links entered as contribution names or permalinks - #458

Open
ECYaz wants to merge 1 commit into
phpbb:3.3.xfrom
ECYaz:fix/394-url-permalink
Open

Reject links entered as contribution names or permalinks#458
ECYaz wants to merge 1 commit into
phpbb:3.3.xfrom
ECYaz:fix/394-url-permalink

Conversation

@ECYaz

@ECYaz ECYaz commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Reject link shaped values in the name and permalink fields with a clear message, for authors and moderators alike.

Fixes #394

A link pasted into the permalink field was rejected, but the error
message suggested the slugified link back as a valid example, and
pasting that suggestion in is accepted. A link entered as the
contribution name with the permalink left blank produced the same
garbage permalink silently. Both mistakes gave the contribution a
permanent link shaped address only moderators can fix, which is how
the ColoredLight permalink in phpbb#394 came to be.

Reject values shaped like a link in the name and permalink fields
with a clear message instead. Existing contributions with such a name
or permalink still pass validation untouched, so they are not locked
out of their manage page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Problem with the demo of ColoredLight

1 participant