title: "~" turns to "%7E" issue in Sitecore?
body: <p>Using the Sitecore, I am doing something like customize the URL of the media.<br>
  when in <code>PageEditor</code>  mode, have you guys ever met  "~" turns to "%7E" problem?</p>
  
  <p>for example, 
  check the source of the page in IE(or chrome, firefox), i was expecting something like,</p>
  
  <pre><code>&lt;img src="~/media/twitter.gif" alt="Twitter" width="100" height="22" /&gt;
  </code></pre>
  
  <p>but came up this,</p>
  
  <pre><code>&lt;img src="%7E/media/twitter.gif" alt="Twitter" width="100" height="22" /&gt;
  </code></pre>
  
  <p>I have checked my code, i don't think i did something which would change the '~' to '%7E',
  Have ever met something like this, if you have, please let me know, and how i can solve it.Thanks</p>