title: Curly brackets converted into hex code when used as link href
body: <p>Curly brackets are converted into its hex code when present in a link href. I have an email function which sends a url (which has curly brackets in it). When clicked on the link in email, curly brackets are converted into its hex code (%7B and %7D) which results in failure of opening the web page.
  I use jsp, javascript and html.</p>
  
  <p>I get details from a form (including the link to be send) and send to a jsp page. The link is encoded using javascript encodeURIComponent and decoded in jsp using java.net.URLDecoder.decode(str, "UTF-8"). This decodes the value perfectly but when it is written as href of link, only curly braces converted to hex code.</p>
  
  <p>Its adobe scene7 image url which is something like</p>
  
  <p>www.somedomain.com/PROD_NAME?wid=600&amp;sharpen=1&amp;color=235,198,59&amp;obj=shirt/shirt_fabric/pocket&amp;decal&amp;sharp=0&amp;src=is{sample/test3/ugc//9895846.tif?wid=150}&amp;pos=0,1.2&amp;res=30</p>
  
  <p>It appears in mail as it is, but when clicked on that link it appears in browser as</p>
  
  <p>www.somedomain.com/PROD_NAME?wid=600&amp;sharpen=1&amp;color=235,198,59&amp;obj=shirt/shirt_fabric/pocket&amp;decal&amp;sharp=0&amp;src=is%7Bsample/test3/ugc//9895846.tif?wid=150%7D&amp;pos=0,1.2&amp;res=30</p>
  
  <p>and this causes failure on processing the url.</p>
  
  <p>Thanks</p>