?
avatar bubi-luka
bubi-luka
17 Feb 2018

Steps to reproduce the issue

  1. Set Joomla's global setting Unicode Aliases to "NO", enable Redirect plugin with option Collect URLs "Enabled". Use modern routing option.
  2. Visit Joomla page using URL with character "š" in a bogus URL.
  3. Visit Joomla page using same bogus URL but changing the Unicode character "š" with it's non-Unicode representation "s".
  4. Visit Joomla admin area -> Menu -> Components ->Redirect. There you will find both URLs, entered separately.
  5. Edit the one with Unicode character "š" and point it to a valid URL. Set it to Enabled.
  6. Test this URL and it will redirect correctly.
  7. Edit the one with non-Unicode character "s", set it to a valid URL and enable it.
  8. On save it will give the error "Save failed with the following error: The source URL must be unique."
  9. Test the URL and it will give you a 404 page. It will not use the redirect set in step No. 4.

Expected result

I should be able to edit both URLs, as they are different. They are treated as different by Joomla when visiting the page. The Redirect component also treat's them differently as it stores them as separate entries.

Actual result

I can edit only one of the URLs.

System information (as much as possible)


  • Database Version | 5.5.5-10.2.12-MariaDB
  • Database Collation | utf8mb4_general_ci
  • Database Connection Collation | utf8mb4_general_ci
  • PHP Version | 7.1.14
  • Web Server | nginx/1.12.1
  • WebServer to PHP Interface | fpm-fcgi
  • Joomla! Version | Joomla! 3.8.5 Stable [ Amani ] 6-February-2018 15:00 GMT
  • Joomla! Platform Version | Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
  • User Agent | Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58

  • Search Engine Friendly URLs => YES
  • Use URL Rewriting => YES
  • Add Suffix to URL => YES
  • Unicode Aliases => NO
  • URL Routing => MODERN

Additional comments

I can provide more details upon request.
The Trash was empty.
The attached image shows there are only two entries using this URL. The search identifies them as the same, although you can see they differ in one character.
screenshot-2018-2-17 redirects links - bubiji - administration

avatar bubi-luka bubi-luka - open - 17 Feb 2018
avatar joomla-cms-bot joomla-cms-bot - change - 17 Feb 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Feb 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 17 Feb 2018
Category com_redirect
avatar infograf768
infograf768 - comment - 19 Feb 2018

2 questions:

  1. What happens when you do not use modern routing?
  2. What happens when Unicode alias is set to Yes?
avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Feb 2018
Status New Information Required
avatar infograf768
infograf768 - comment - 19 Feb 2018

In fact, I tested. Same behavior.
Looking into this

avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Feb 2018
Status Information Required Discussion
avatar infograf768
infograf768 - comment - 19 Feb 2018

Please test this simple patch #19734

avatar infograf768 infograf768 - change - 19 Feb 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-02-19 09:14:54
Closed_By infograf768
avatar infograf768 infograf768 - close - 19 Feb 2018
avatar bubi-luka
bubi-luka - comment - 19 Feb 2018

The patch works. Thank you!

Add a Comment

Login with GitHub to post a comment