jajajaj. Tranquilo
 
Yo probe esto y a mi me funciona ok en firefox.  
 Código HTML:
 <html>
<head>
<script>
function valida()
{
 var form = document.getElementById("form");
 form.action = "?hola=" + escape("a b");
 return true;
}
</script>
</head>
<body>
    <form id="form" action="" method="post" onsubmit="return valida();">
    <input type="text" value="hola" />
    <input type="submit" value="enviar"/>
    </form>
</body>
</html>  Pruebalo tú y dime si te funciona. 
De lo contrario, te pasaré otra solucion, que 100% si va a andar.