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 in activateLevel.js middleware #665

Open
GianfrancoBazzani opened this issue Jun 15, 2023 · 3 comments
Open

🐛 Bug in activateLevel.js middleware #665

GianfrancoBazzani opened this issue Jun 15, 2023 · 3 comments

Comments

@GianfrancoBazzani
Copy link
Member

Seems that url analysis to support level addresses and level number in the /level subpaths is not parsed correctly and results in unexpected behavior on many situations.

@Ayush-Thakur-geek
Copy link

hey @GianfrancoBazzani, could you please elaborate it a bit more.

@GianfrancoBazzani
Copy link
Member Author

Hi @Ayush-Thakur-geek, thanks for showing interest in this issue. It seems that there is a 🐛 in the app routing. You can reproduce the bug on prod by accessing an nonexistent page in the /level subpath (e.g., https://ethernaut.openzeppelin.com/level/sadfasdf). The browser shows a 404 URL, but the error message is not being shown properly.

Correct 404 page:
image
Buggy 404 page:
image

@Ayush-Thakur-geek
Copy link

hey @GianfrancoBazzani, thanks for providing a detailed description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants