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

164
Views
query string received auto parsed character + as empty string | Nestjs

Currently playing around which Nestjs

I have a simple controller which takes email as Query String then find all the email with the same user.

I realized if my email has the + sign then inside the request it automatically changed to empty string

For example if my email is domain+test@test.com when I console value of email in controller it turns into domain test@test.com

This is my controller

  @Get()
  findAllUsers(@Query('email') email: string) {
    return this.userService.find(email);
  }

Didn't post any other codes because the problem is here already but not sure how I can fix it? Is there other packages / decorators I should use?

Thanks in advance for any suggestions and help.

about 4 years ago · Juan Pablo Isaza
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!