Fork me on GitHub

hmm... so I'm trying to do something really stupid and insecure, but not in a context that matters (run arbitrary database fetch queries by get requests). Does anyone know--- if I use the keyword syntax in a compojure defroute (like GET /fetch/:query), and pass in a map, like "bar"} does that come in as a string? Or does some kind of ring default middleware magic turn it into a proper map?


(or does that even work? hmm... may have to experiment some.


(actually, turns out what happens is that the browser gets confused and interprets it as a google search. so back to boring normal ?query= syntax