Home > Software engineering >  How to decode a url in JavaScript or NextJS?
How to decode a url in JavaScript or NextJS?

Time:11-03

In our NextJS application we have a URL that is fed with various query strings.

With some query strings, however, we have the problem that they are displayed in encoded form. For example like this:

http://localhost:8080/my-app/test-app?project=project:one&project=project:two

As you can see, the colons are replaced with

  • Related