Mercurial > urweb
view tests/random.ur @ 1710:540df112ff62
Remove string-valued style attribute, which may allow injection attacks
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 15 Apr 2012 12:40:53 -0400 |
parents | ac141fbb313a |
children |
line wrap: on
line source
table t : { A : int } fun main () : transaction page = x <- queryX (SELECT * FROM t ORDER BY RANDOM) (fn r => <xml>{[r.T.A]}<br/></xml>); return <xml><body>{x}</body></xml>