title: Spaces in URIs in Firefox 7
body: <p>In Firefox version 7.0.1, URIs with encoded spaces in them are automatically converted to a space in the Location Bar.  </p>
  
  <p>This does not happen in Internet Explorer.  </p>
  
  <p>For example, I have a textbox on a page with contents of "Test Test".  I have a javascript function that reloads the page with the encoded contents of the textbox using encodeURIComponent().</p>
  
  <p>Internet Explorer produces:</p>
  
  <pre><code>http://host/page.php?box=Test%20Test
  </code></pre>
  
  <p>Firefox 7.0.1 produces:</p>
  
  <pre><code>http://host/page.php?box=Test Test
  </code></pre>
  
  <p>Upon alerting out the results of encodeURIComponent in Firefox, the space is correctly escaped as %20.  </p>
  
  <p>It appears Firefox is doing something that is removing the encoding from the URI.  This then results in the URI not conforming to <a href="http://www.ietf.org/rfc/rfc2396.txt" rel="nofollow">RFC2396</a></p>
  
  <p>My question is what should I as a developer do?  In fact, do I need to do anything?  </p>