view python/cgiescape.py @ 502:155c8a6b471e

arbtt
author Jeff Hammel <jhammel@mozilla.com>
date Thu, 29 Aug 2013 19:16:57 -0700
parents f3ab51c79813
children
line wrap: on
line source

#!/usr/bin/env python

import sys
import cgi

print cgi.escape(sys.stdin.read())