We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Dissallowed key character error when å-ä-ö in url

Development and Programming

Riverboy's avatar
Riverboy
2,989 posts
9 years ago
Riverboy's avatar Riverboy

Hello.

I have 2 EE sites running on the very same hosts. Only difference is that one is yet running on EE2 and other is running on latest EE3 version.

How ever, when I try to access some foo-bar address where is scandinavian letters, the EE2 installation finds its way to 404, but the EE3 version shoots Dissallowed Key Character error instead of going to 404.

The reason why I tested this, was because of the reason im using Solspace TAG on both of my sites and thought this were an Tag-related issue. But it is not.

So, when i type example.com/foo/påå - EE2 = 404 as supposed. - EE3 = Disallowed Key Characters.

What has been changed, this sounds a bug to me.

       
Riverboy's avatar
Riverboy
2,989 posts
9 years ago
Riverboy's avatar Riverboy

I’ve managed to get the same error on at least one other situation also, where iframe-code block was set wrong. Seems to be pretty dead to try to talk here since no answers?

       
FountainInternet's avatar
FountainInternet
53 posts
9 years ago
FountainInternet's avatar FountainInternet

How are you managing to save an entry with those characters in the URL? As far as I’m aware, EE doesn’t support non-Latin characters in URL titles. I’ve found that restriction to be a real problem in the past when localising websites. My workaround was to create a “Custom URL Title” field that acts as a proxy for the real URL Title field. If you want to bullet-proof it, you can also create an extension that auto-fills the “Custom URL Title” field based on the title. You’ll also need to URL encode all instances of the Custom URL Title in your templates though. To do that you can make use of a plugin like Streeng.

       
Riverboy's avatar
Riverboy
2,989 posts
9 years ago
Riverboy's avatar Riverboy

Its a Tag that is coming to url when using Solspace Tag Add-on. So, if I add a tag to entry as “fåå” and click the tag cloud that is searching all entries with a tag “fåå” it shoots the dissallowed-error. Havent yet updated to 3.3.0 and latest Tag, so dont know if something has been done to this.

       
FountainInternet's avatar
FountainInternet
53 posts
9 years ago
FountainInternet's avatar FountainInternet

I’ve just tested those characters in my EE3 site and I don’t receive the disallowed characters message - the site simply shows the 404 page, as expected. However, I don’t have Solspace Tag installed.

       
Riverboy's avatar
Riverboy
2,989 posts
9 years ago
Riverboy's avatar Riverboy

Im beat. I even uninstalled Tag and still getting the error every possible scenario instead of ending up to 404. No idea how to start tracking why that error comes and not the 404 as should?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.