Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 [Bug Report]: Page not found for page url with Chinese character #111

Open
rogical opened this issue Apr 27, 2023 · 1 comment
Open
Labels
branch main Issues related to 2.x versions bug Something isn't working

Comments

@rogical
Copy link

rogical commented Apr 27, 2023

BlizzCMS Version

2.0 beta

Emulator

MaNGOS

PHP Version

PHP 8.1

Operating system

Linux

Web server

Apache

Database

MySQL 8

What happened?

I changed a news title, from english to Chiense character, then the url not able to open.

http://xxxx/news/1/oowow%E5%BC%80%E6%94%BE%E5%85%AC%E6%B5%8B

How can the issue be reproduced?

1 change a news title, add Chiense character 开放公测
2 on home page, click the news title
3 page not found

Screenshots

image

@rogical rogical added the bug Something isn't working label Apr 27, 2023
@sayghteight
Copy link
Contributor

sayghteight commented Jul 1, 2023

This is due to the URL's, it is possible that it is a routing error due to special characters, it will be reviewed but as advice I suggest making the news in English for now.

In config.php you have the following config

Original line
$config['permitted_uri_chars'] = '‘a-z 0-9~%.:\_\=+%\&-';

Modified for characters english:

$config['permitted_uri_chars'] = '‘a-z 0-9~%.:_=+%&-áéíóúñü';

@DZywolf DZywolf added the branch main Issues related to 2.x versions label Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
branch main Issues related to 2.x versions bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants