not work with some chinese symbol,such as 《》

Created on 22 March 2025, 14 days ago

Problem/Motivation

if node title include 《》, the url cannot be generated correctlly.

always be blog/2025-3-0 or such as

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs work

Version

1.13

Component

Code

Created by

🇦🇺Australia jjwfcd

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jjwfcd
  • 🇫🇮Finland sokru

    What's the correct transliteration for the given symbol? Drupal core's transliteration service gives transliteration <<>>/, and those characters are not valid for URL, therefore they are removed.

    Changed the priority to correspond the Drupal definition: https://www.drupal.org/docs/develop/issues/fields-and-other-parts-of-an-issue/issue-priority-field

  • 🇦🇺Australia jjwfcd

    thanks

    I dont think there is a symbol in english for this one

    just ignore it will be good or replace it with _

  • 🇫🇮Finland sokru

    The Pathauto module works already like this, if the pattern (defined at /admin/config/search/path/patterns) is [node:title], the the page with title Test《》page, creates an alias testpage. If you want to replace the character (transliterated into < and >) with separator, you can define that on admin/config/search/path/settings under "Punctuation" details element.

  • 🇦🇺Australia jjwfcd

    ok,it wokrs,maybe its the title too long or some other modules problem
    thank you very much

Production build 0.71.5 2024