Skip to content

Conversation

smg6511
Copy link
Collaborator

@smg6511 smg6511 commented Sep 22, 2025

What does it do?

Replaces dot characters in alias with the friendly_alias_word_delimiter character when friendly_alias_restrict_chars system setting is alpha or alphanumeric.

Note that I chose not to just remove the dot, as the meaning of an alias in certain scenarios would be made inaccurate (or at least misleading) by doing so. Consider this fictitious example:

pagetitle: In 2024, The Post Lost 7.6 Percent of Its Readership
alias (dot removed): in-2024-the-post-lost-76-percent-of-its-readership

Why is it needed?

By definition, it makes no sense to allow any character not defined by these two rules.

How to test

Change the friendly_alias_restrict_chars setting and verify that, when alpha or alphanumeric is chosen, dots in a friendly url Resource alias are replaced by the preferred delimiter.

Related issue(s)/PR(s)

Resolves #16665

Remove dot in final segment when restriction is the preset 'alpha' or 'alphanumeric'
Code quality fixes
@smg6511 smg6511 added the pr/review-needed Pull request requires review and testing. label Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr/review-needed Pull request requires review and testing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

With alphanumeric In FURL Alias ​​Character Restriction Method the dot remain in URL

1 participant