1

I got the string in this format

solr/?key=color&facet=Blue%26keyword%3Dwoo


However, I want to get it in this format

solr/?key=color&facet=Blue&keyword=woo

1 Answers1

1

Try urldecode:

$url = urldecode("solr/?key=color&facet=Blue%26keyword%3Dwoo");
// = solr/?key=color&facet=Blue&keyword=woo
Johann Bauer
  • 2,488
  • 2
  • 26
  • 41