You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When following a link that is no longer valid, a 404 page appears containing a search bar.
This search bar has relevant keywords from the URL pre-filled, however this behaviour is handled incorrectly when the URL contains characters that are represented with URI escape sequences.
In these cases, the keywords are directly filled into the search bar without first being decoded from the escape sequences.
The issue can be easily reproduced by going to a URL such as: http://{host}:{port}/α
Hugo version
0.126.2
Theme version
3.29.0
What browsers are you seeing the problem on?
Firefox
More information about the browser
Firefox 132.0.1, Fedora 41
Relevant log output
Start building sites …
hugo v0.126.2+extended linux/amd64 BuildDate=2024-07-18T00:00:00+00:00 VendorInfo=Fedora:0.126.2-3.fc41
| EN
-------------------+-----
Pages | 37
Paginator pages | 0
Non-page files | 4
Static files | 1
Processed images | 14
Aliases | 13
Cleaned | 0
Total in 68 ms
What happened?
When following a link that is no longer valid, a 404 page appears containing a search bar.
This search bar has relevant keywords from the URL pre-filled, however this behaviour is handled incorrectly when the URL contains characters that are represented with URI escape sequences.
In these cases, the keywords are directly filled into the search bar without first being decoded from the escape sequences.
The issue can be easily reproduced by going to a URL such as: http://{host}:{port}/α
Hugo version
0.126.2
Theme version
3.29.0
What browsers are you seeing the problem on?
Firefox
More information about the browser
Firefox 132.0.1, Fedora 41
Relevant log output
Link to Minimal Reproducible Example
https://github.com/CelDaemon/unicode-404-repro
The text was updated successfully, but these errors were encountered: