summaryrefslogtreecommitdiff
path: root/paste/util/quoting.py
Commit message (Collapse)AuthorAgeFilesLines
* Revert change on paste.util.quoting.html_quote()Victor Stinner2015-04-231-1/+4
| | | | | On Python 2, html_quote(unicode) returns again bytes to restore backward compatibility.
* Fix paste.util.html_quote(unicode): don't encode the string to escape itVictor Stinner2015-04-221-25/+1
|
* Fix html_unquote() on Python 3Victor Stinner2015-04-211-5/+11
| | | | | * String must be a bytes string: replace str with six.binary_type * Port util.quoting to Python 3
* Python 3: fix more submodulesVictor Stinner2014-03-191-2/+2
| | | | | * print syntax * replace "except Exception, exc:" with "except Exception as exc:"
* Python 3: Use six types for stringsCyril Roelandt2014-03-181-2/+3
| | | | | * Replace (str, unicode) with (six.binary_type, six.text_type) * Replace basestring with (six.binary_type, six.text_type)
* Python 3: use new names of standard library modulesCyril Roelandt2014-03-181-5/+6
| | | | Use "try/except ImportError" to try Python 2 and Python 3 names.
* Just a bit more paranoia in quoting comments, though I wasn't able to ↵Ian Bicking2010-09-141-1/+8
| | | | reproduce any actual issue
* Fix XSS attacks as reported by Tim WintleIan Bicking2010-06-151-0/+7
|
* correct r7651 comment, this changed as of 2.5.2pjenvey2008-11-191-2/+2
|
* make html_unquote('') consistently return u'' everywhere -- re.sub('', '', u'')pjenvey2008-11-181-1/+5
| | | | started acting differently as of 2.5.1
* update test for new website contentianb2008-11-161-1/+1
|
* Fixed test suite on Windows (also disabled CGI tests as they shouldn't even ↵maluke2008-05-281-1/+1
| | | | work)
* Use the already-available html_unquote functionianb2008-03-251-2/+1
|
* Added a no-quoting quoterianb2006-01-221-0/+6
|
* Merged changes from cce branch (r3727:HEAD/4008); the branch is now in sync ↵ianb2005-12-131-1/+9
| | | | with trunk
* Added license comment to all substantive filesianb2005-08-311-0/+3
|
* Handy module for quoting and unquotingianb2005-07-251-0/+64