WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 8 months ago

#38966 new defect (bug)

german umlaut in slug produces redirection loop

Reported by: mtvary Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 4.6.1
Component: General Keywords: needs-patch
Focuses: Cc:
PR Number:

Description

Hey,

if you add a german umlaut (for example "ö") to the slug, WordPress sites result in a redirection loop.
Check this: https://de.wordpress.org/?ö

(In a perfect world nobody would add an "ö" to the slug, but I'm talking about external links and we can't control that we have to redirect to a 404)

Is there already a fix for this problem?

Change History (2)

#2 @johnbillion
3 years ago

#39233 was marked as a duplicate.

#3 @desrosj
8 months ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release

Hi @mtvary,

Welcome to Trac! My apologies that it took so long for you to receive a response.

The new block editor actually turns the ö character into a regular o. The quick edit interface also performs the same sanitization. However, if I manually insert an ö character into the post slug in the database, I am able to reproduce the redirect.

Note: See TracTickets for help on using tickets.