title: Encoded url is not redirecting properly in angular, how to route encoded url to proper address?
body: <p>how to redirect encoded special characters url to proper address?
  in my project encoded url routing to web page.
  i created route something like this</p>
  
  <p>{ path: 'welcome/:id', component: WelcomeComponent },</p>
  
  <p>actually i am passing url like 
  <a href="http://localhost/welcome%3Fid%3D45" rel="nofollow noreferrer">http://localhost/welcome%3Fid%3D45</a>
  but this is not accepting
  and it is accepting only 
  <a href="http://localhost/welcome?id=45" rel="nofollow noreferrer">http://localhost/welcome?id=45</a></p>