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

181
Views
Why doesn't the URL API decode % on the path names?

I was trying out to see if I can extract the path name from a file URL which that has URL escaped characters e.g. file:///foo/my%2540file

When I do

new URL('file:///foo/bar%2540trajano').pathname

I get

'/foo/bar%2540trajano'

When I am expecting

'/foo/bar%40trajano'

because the URL that was passed in has escaped characters should it not decode it? This behaviour is followed by alternate pathName implementations as well.

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!