view tests/crypt.ur @ 2054:4ad46302f659

Don't use uw_malloc() or equivalent in generating error messages while parsing HTTP request
author Adam Chlipala <adam@chlipala.net>
date Fri, 15 Aug 2014 18:25:56 -0400
parents a5bfed32d4f7
children
line wrap: on
line source
fun cryptIt r = return <xml><body>
  {[crypt r.Pass "AB"]}
</body></xml>

fun main () = return <xml><body>
  <form><textbox{#Pass}/> <submit action={cryptIt}/></form>
</body></xml>