-
Notifications
You must be signed in to change notification settings - Fork 684
Closed
Description
What happened?
Description
More context for this problem can be found in the following issue, putyourlightson/craft-blitz#730
The main problem for me is that it's possible to visit a page with non-ASCII characters, while slug is set to ASCII only, pure English.
Also, 'limitAutoSlugsToAscii' => true.
As I understand, Craft in-depth checking against non-ASCII chars and replacing them while looking for necessary route.
I would like to have an option to avoid such behaviour as it causes problem in my case(with the Blitz plugin).
At least, it makes sense to do this for cases when limitAutoSlugsToAscii is set to true
Steps to reproduce
- Create any page with the english slug, without ASCII symbols, https://putyourlightson.com/plugins (
plugins) - Visit this page by replacing some characters with non-ASCII characters, for example, https://putyourlightson.com/plugi%C5%84s (
plugińs)
Expected behavior
The page says 200 and loads the original content
Actual behavior
It should return a 404 and say that no such page was found.
Craft CMS version
Pro 4.12.0
PHP version
8.2.13
Operating system and version
Ubuntu
Database type and version
MySQL8.0.39
Image driver and version
No response
Installed plugins and versions
- Amazon S3: 2.2.1
- Blitz: 4.23.0
- Button Box: 4.2.4
- Dumper: 5.0.1
- Embedded Assets: 4.1.2
- Fetch: 2.0.0-beta.1
- Guest Entries: 4.0.1
- ImageOptimize: 4.0.9
- Linkit: 4.0.4.1
- Mailgun: 3.1.0
- Redactor: 3.1.0
- School calendar: 5.0.7
- Sentry Logger: 4.1.6
- SEOmatic: 4.1.2
- Spoon: 4.0.4
- Sprig: 2.13.0
- SuperSort: 4.0.0
- Super Table: 3.0.14
- Tags: 2.0.0
- Vite: 4.0.10
Reactions are currently unavailable