Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

353
Views
NextJS router encode query character

I'm having an issue when i try to open a new page with NextJS router.

I passed my parameter like:

router.push({
  pathname: '/',
  query: { id: '12344567' },
 })

sometimes (like rarely) it will redirect my page to something like

/%3Fid=12344567

It's weird because it's rarely happened and when it does i don't know how to debug it.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

its the parsed shape of the url (after translating special characters). %3F is an escape code for ?, which is required when passing a query param.

Example of passing param: BASE_URL/${PARAM}

Example of query passing: BASE_URL/?${QUERY_NAME}=${QUERY_VALUE}

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!