Skip to content

[4.x]: Okina Okina character ( ʻ or U+02BB) is preserved in auto-slugs #16548

@bradley-csd

Description

@bradley-csd

What happened?

Description

The Okina character ( ʻ or U+02BB) is preserved in slugs, even when limitAutoSlugsToAscii is set to true.

Steps to reproduce

  1. Paste the character in the title of the entry, the autoslug will generate a slug.

Image

eg. Hawaiʻi’s Lēʻahi Lūʻau Celebrates Kūpuna and ʻOhana Traditions in Wailuku

Expected behavior

The character should be removed.

Actual behavior

The character passes through the autoslug filters.

Image

Craft CMS version

4.x, 5.x

PHP version

8.2.22

Operating system and version

Ubuntu

Database type and version

MySQL 8.0.36

Image driver and version

No response

Installed plugins and versions

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions