view python/cgiescape.py @ 299:cc2f7d8307d0

maybe we have that server after all
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 11 May 2013 10:18:40 -0700
parents f3ab51c79813
children
line wrap: on
line source

#!/usr/bin/env python

import sys
import cgi

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