Nuxt.js: % in URL param results in incorrect behaviour

Created on 24 Jun 2020  路  4Comments  路  Source: nuxt/nuxt.js

Version

v2.12.2

Reproduction link

https://32kd4.sse.codesandbox.io/

Steps to reproduce

  • Go to https://32kd4.sse.codesandbox.io/
  • Click on link to "A working page" - see that the page displays correctly
  • Click on link to "An invalid page" - see a "This page could not be found"
  • Go back and click on link to "A broken page" - see an error page with the message "URI malformed"
  • Go back and click on link to "A differently broken page" - see an ngnix error page

What is expected ?

The three non-working links should all display the "This page could not be found" page

What is actually happening?

  • A URL param which cannot be decoded throws a URI malformed error
  • A URL param which is a single % causes a more severe error

Additional comments?

See also https://github.com/nuxt/nuxt.js/issues/4977

This bug report is available on Nuxt community (#c10841)
bug-report pending

All 4 comments

Thanks for your contribution to Nuxt.js!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you would like this issue to remain open:

  1. Verify that you can still reproduce the issue in the latest version of nuxt-edge
  2. Comment the steps to reproduce it

Issues that are labeled as pending will not be automatically marked as stale.

This issue is still present in nuxt-edge 2.14.0-26582020.6ab65fbf

Thanks for your contribution to Nuxt.js!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you would like this issue to remain open:

  1. Verify that you can still reproduce the issue in the latest version of nuxt-edge
  2. Comment the steps to reproduce it

Issues that are labeled as pending will not be automatically marked as stale.

This issue is still present in nuxt-edge 2.14.5-26648675.2c600d52

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gary149 picture gary149  路  3Comments

nassimbenkirane picture nassimbenkirane  路  3Comments

uptownhr picture uptownhr  路  3Comments

o-alexandrov picture o-alexandrov  路  3Comments

bimohxh picture bimohxh  路  3Comments