title: OnChange problem with select_tag with '/' and '.' characters in Rails
body: <p>I have an select_tag (rails) that loaded a select value with '/' and '.' character in it.</p>
  
  <p>The select tag's onchange redirects the page (using window.location) using concatenated url with the value of the select tag.</p>
  
  <p>These are the things I tried to isolate the problem.</p>
  
  <ul>
  <li>Invokes alert javascript to show the concatenated value.</li>
  <li>Added urlencode to the value passed.</li>
  <li>Hard code the urlencode'd value to windows.location (and miraculously, it is working).</li>
  </ul>
  
  <p>Thanks in advance. </p>