Multidingus

Fletcher Penney fletcher at fletcherpenney.net
Thu Oct 18 16:47:04 EDT 2012


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

> Markdown-Discuss at six.pairlist.net

> http://six.pairlist.net/mailman/listinfo/markdown-discuss



--
Fletcher T. Penney
fletcher at fletcherpenney.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4899 bytes
Desc: not available
Url : <http://six.pairlist.net/pipermail/markdown-discuss/attachments/20121018/230adb21/attachment.bin>


More information about the Markdown-Discuss mailing list