J3 Issue ?
avatar eSilverStrike
eSilverStrike
21 Dec 2017

Steps to reproduce the issue

  1. Create a new article and give it the following alias:

this-is-a-“test”

  1. Save the Article

  2. Curly quotes are still in the alias. They should have been removed (like straight quotes are). This results in a 404 error with Joomla when someone tries to view the article by links Joomla generates to view the article by using the alias.

Expected result

The curly quotes should be removed. Happens with curly single quote as well (maybe others???)

Actual result

Curly quotes are not removed

System information (as much as possible)

Joomla 3.8.3
Microsoft-IIS/8.0
PHP 7.1.1
Happens both in Firefox and Edge (haven't check other browsers as I don't think that is the issue)

Additional comments

avatar eSilverStrike eSilverStrike - open - 21 Dec 2017
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Dec 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Dec 2017

Can't confirm:
bildschirmfoto 2017-12-21 um 16 00 52

System information

3.8.4-dev
Multilanguage Site (4 Lang.) & Test English (GB) Sample Data
macOS Sierra, 10.12.6
Firefox 57 (64-bit)

MAMP 4.2

  • PHP 7.0.22
  • MySQLi 5.6.35
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Dec 2017
Status New Discussion
avatar C-Lodder
C-Lodder - comment - 21 Dec 2017

@franz-wohlkoenig - Try adding the quote in the actual Alias field as opposed to having it automatically geneerated rom the title.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Dec 2017

@C-Lodder done: copied "this-is-a-“test”" in alias and save got in Alias "this-is-a-test".

avatar brianteeman
brianteeman - comment - 21 Dec 2017

Can not confirm

I entered this
screenshotr15-41-13

And on save it was sanitized as this
screenshotr15-41-36

avatar C-Lodder
C-Lodder - comment - 21 Dec 2017

@franz-wohlkoenig / @brianteeman I assume you're both on Apache as opposed to IIS

avatar eSilverStrike eSilverStrike - change - 21 Dec 2017
The description was changed
avatar eSilverStrike eSilverStrike - edited - 21 Dec 2017
avatar eSilverStrike
eSilverStrike - comment - 21 Dec 2017

Added a bit more info to original post.

I just tested on a completely different website (Joomla 3.8.3) and host (which uses Linux and Apache, PHP 7.0.26) and the same thing happened...

I was assuming it was and IIS only issue but this now appears not to be the case.

Also this was happening on previous versions of Joomla.

avatar brianteeman
brianteeman - comment - 21 Dec 2017

Do you have any plugins installed - perhaps for seo?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Dec 2017

@C-Lodder

System information

3.8.4-dev
Multilanguage Site (4 Lang.) & Test English (GB) Sample Data
macOS Sierra, 10.12.6
Firefox 57 (64-bit)

MAMP 4.2

  • Apache-Server
  • PHP 7.0.22
  • MySQLi 5.6.35
avatar eSilverStrike
eSilverStrike - comment - 21 Dec 2017

Both sites have components and plugins installed. Some well know ones like JEvents which I am sure do some SEO but I assume it would only affect their own component.

The only 3rd party component that I can think of that both sites have installed is the JCE Editor.

avatar brianteeman
brianteeman - comment - 21 Dec 2017

Sorry I have no idea. It clearly doesnt happen in the joomla core as we havent been able to replicate it so it must be an extension

avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Dec 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-12-21 17:02:34
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 21 Dec 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 21 Dec 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Dec 2017

closed as no Core-Issue.

@eSilverStrike Please ask further help on the forums.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/19120.
avatar joomla-cms-bot
joomla-cms-bot - comment - 21 Dec 2017
avatar eSilverStrike
eSilverStrike - comment - 21 Dec 2017

Okay thanks.

avatar Bakual
Bakual - comment - 21 Dec 2017

Enable "Unicode Alias" in the global configuration, and you can reproduce it.

Reopening.

avatar Bakual Bakual - change - 21 Dec 2017
Status Closed New
Closed_Date 2017-12-21 17:02:34
Closed_By joomla-cms-bot
avatar Bakual Bakual - reopen - 21 Dec 2017
avatar brianteeman
brianteeman - comment - 21 Dec 2017

Good spot @Bakual

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 21 Dec 2017

Issue confirmed. Thanks for Hint, @Bakual

avatar Bakual
Bakual - comment - 21 Dec 2017

However I don't get a 404. Maybe because I have only legacy routing active.

avatar eSilverStrike
eSilverStrike - comment - 21 Dec 2017

Confirmed as well. Issue happens when I have Unicode Aliases enabled. If disabled the curly quotes are removed from the alias.

avatar tonypartridge
tonypartridge - comment - 21 Dec 2017

@eSilverStrike do you have Modern routing enabled or legacy?

avatar eSilverStrike
eSilverStrike - comment - 22 Dec 2017

Legacy is enabled.

avatar franz-wohlkoenig franz-wohlkoenig - change - 22 Dec 2017
Status New Discussion
avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J3 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar astridx
astridx - comment - 5 Mar 2020

I just tested this issue. I think the problem is solved.

  1. I have set unicode alias and am using legacy routing.
  2. I have created an article with title this-is-a-“test”.
  3. I did not receive a 404 error message in the front end. I could open the article.

Global Configuration   test   Administration
Articles  Edit   test   Administration
Screenshot from 2020 03 05 18 48 59

@eSilverStrike Can you confirm that the problem is solved?

avatar astridx astridx - change - 5 Mar 2020
Status Discussion Information Required
avatar brianteeman
brianteeman - comment - 5 Mar 2020

@astridx and with modern routing?

avatar astridx
astridx - comment - 5 Mar 2020

For me, modern routing is also OK in the front end with and without id.
Which only surprises me. The IDs are displayed both times. I am not yet familiar with routing and therefore do not know whether it is related to other settings.

Screenshot from 2020-03-05 19-54-02

avatar infograf768 infograf768 - change - 6 Mar 2020
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2020-03-06 07:05:22
Closed_By infograf768
avatar infograf768 infograf768 - close - 6 Mar 2020
avatar infograf768
infograf768 - comment - 6 Mar 2020

Curly quotes, like any UTF8 characters, are transformed to percent encodings when unicode alias is set.

IN the browser it looks like
Screen Shot 2020-03-06 at 08 02 03

But the real result is in this case is en/catblogenglish/testarticle-with-%E2%80%9Ccurlyquotes%E2%80%9D

Closing as not a bug.

Add a Comment

Login with GitHub to post a comment