Would it be better to use a "POST" method than a "GET" method, and keep the raw text out of the URL? It seems like that is begging for trouble.... Of course, I haven't been working as much on the HTTP/CGI stuff lately and could be mistaken.
Not to mention everyone will want to make sure to do some input "sanitization" on the text input to try to filter mischievous input. F- On Oct 18, 2012, at 4:32 PM, John MacFarlane wrote: > +++ John MacFarlane [Oct 18 12 15:24 ]: > >> % curl 'http://johnmacfarlane.net/cgi-bin/pandoc-dingus?text=hi *there*' >> {"html":"<p>hi</p>","version":"1.9.4.2"} > > Sorry, that should be: > > % curl > % 'http://johnmacfarlane.net/cgi-bin/pandoc-dingus?text=hi+*there*' > {"html":"<p>hi <em>there</em></p>","version":"1.9.4.2"}% > _______________________________________________ > Markdown-Discuss mailing list > [email protected] > http://six.pairlist.net/mailman/listinfo/markdown-discuss -- Fletcher T. Penney [email protected]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Markdown-Discuss mailing list [email protected] http://six.pairlist.net/mailman/listinfo/markdown-discuss
