summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* More fixes requested in code review.config-with-pure-pythonMichael Howitz2021-01-182-55/+53
|
* Update src/zope/publisher/browser.pyMichael Howitz2021-01-181-2/+0
| | | Co-authored-by: Marius Gedminas <marius@gedmin.as>
* Update src/zope/publisher/browser.pyMichael Howitz2021-01-181-1/+2
| | | Co-authored-by: Marius Gedminas <marius@gedmin.as>
* Update src/zope/publisher/tests/test_http.pyMichael Howitz2021-01-181-2/+2
| | | Co-authored-by: Marius Gedminas <marius@gedmin.as>
* Configuring for pure-pythonMichael Howitz2021-01-182-0/+8
|
* Implement some of the fixes requested in code review.Michael Howitz2021-01-1818-64/+18
|
* Update src/zope/publisher/zcml.pyMichael Howitz2021-01-181-1/+1
| | | Co-authored-by: Marius Gedminas <marius@gedmin.as>
* Configuring for pure-pythonMichael Howitz2021-01-182-4/+6
|
* Configuring for pure-pythonMichael Howitz2020-12-181-3/+3
|
* Configuring for pure-pythonMichael Howitz2020-12-182-3/+3
|
* Lint the code and add support for Python 3.9.Michael Howitz2020-12-1843-510/+647
|
* Configuring for pure-pythonMichael Howitz2020-12-1810-287/+219
|
* Merge pull request #55 from cjwatson/multipart-parserColin Watson2020-11-204-112/+181
|\ | | | | Port form data parsing to multipart
| * Fix handling of non-ASCII form-data filenamesColin Watson2020-09-052-0/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | RFC 7578 section 4.2 says: Some commonly deployed systems use multipart/form-data with file names directly encoded including octets outside the US-ASCII range. The encoding used for the file names is typically UTF-8, although HTML forms will use the charset associated with the form. Honour this properly. This was caught by the Launchpad test suite when testing an upgrade to zope.publisher 6.0.0.
| * Fix handling of duplicate form-data field namesColin Watson2020-09-052-2/+23
| | | | | | | | | | | | | | | | RFC 7578 section 5.2 says "Form parts with identical field names MUST NOT be coalesced". This was caught by the Launchpad test suite when testing an upgrade to zope.publisher 6.0.0.
| * Bump to 6.0.0 in setup.py tooColin Watson2020-09-041-1/+1
| |
| * Fix the last few ResourceWarningsColin Watson2020-09-042-2/+10
| | | | | | | | multipart 0.2.2 fixed most of these; this tidies up the last few.
| * Bump to 6.0.0Colin Watson2020-08-241-1/+1
| | | | | | | | | | Dropping `FileUpload.name` _probably_ doesn't break anything, but it's clearly a possibility.
| * Drop FileUpload.nameColin Watson2020-08-213-22/+12
| | | | | | | | | | | | Preserving it with multipart required monkey-patching, and at least my implementation of that wasn't thread-safe. It can't be used in portable code and doesn't seem to have much use.
| * Revert "Add BBB import for ZopeFieldStorage"Colin Watson2020-08-211-4/+0
| | | | | | | | | | | | This reverts commit 21721e875ed23ee307062475acd92e5bde351513. This would result in a ZopeFieldStorage with changed behaviour, which we don't want.
| * Add BBB import for ZopeFieldStorageColin Watson2020-08-201-0/+4
| |
| * Clarify commentColin Watson2020-08-201-2/+3
| |
| * Port form data parsing to multipartColin Watson2020-08-043-104/+100
| | | | | | | | | | | | | | This currently adds ResourceWarnings on Python 3; that will be fixed when https://github.com/defnull/multipart/pull/21 lands. Fixes #39.
* | Merge pull request #56 from zopefoundation/all-repos_autofix_all-repos-sedJens Vagelpohl2020-10-281-2/+2
|\ \ | |/ |/| Update badge URL for Travis
| * Update badge URL for Travisall-repos_autofix_all-repos-sedJürgen Gmach2020-10-281-2/+2
|/ | | | Committed via https://github.com/asottile/all-repos
* Back to development: 5.2.2Michael Howitz2020-06-152-1/+7
|
* Preparing release 5.2.15.2.1Michael Howitz2020-06-152-2/+2
|
* Reference PR.Michael Howitz2020-06-151-1/+3
|
* Merge pull request #51 from ZeitOnline/ishtml-py3Wolfgang Schnerring2020-06-085-3/+46
|\
| * Update changelogWolfgang Schnerring2020-06-081-1/+1
| |
| * Catch decode error in b1b7ef5Wolfgang Schnerring2020-06-052-1/+12
| |
| * More text/bytes handling fixes after b1b7ef5Wolfgang Schnerring2020-06-042-1/+15
| |
| * Fix text/bytes handling in HTTP setResultWolfgang Schnerring2020-06-042-1/+8
| |
| * Fix isHTML check under Python 3Wolfgang Schnerring2020-06-042-0/+11
| | | | | | | | | | setResult accepts "basestring" (which is defined as `(str, bytes)`), so isHTML must be able to handle bytes as well.
* | Ignore .coverage.* tooMarius Gedminas2020-05-301-0/+1
|/
* Back to development: 5.2.1Jason Madden2020-03-302-1/+7
|
* Preparing release 5.2.05.2.0Jason Madden2020-03-302-2/+2
|
* Add python_requires metadata.Jason Madden2020-03-301-0/+8
|
* Merge pull request #50 from zopefoundation/issue49Jason Madden2020-03-305-42/+35
|\ | | | | Fix inconsistent resolution orders and add Python 3.8.
| * Fix inconsistent resolution orders and add Python 3.8.issue49Jason Madden2020-03-305-42/+35
|/ | | | | | There was one class that re-declared what its direct superclass, implemented immediately above it, already declared. Fixes #49
* Fix GH issue URLMarius Gedminas2019-11-211-3/+3
|
* Back to development: 5.1.2Marius Gedminas2019-08-082-1/+7
|
* Preparing release 5.1.15.1.1Marius Gedminas2019-08-082-2/+2
|
* Merge pull request #48 from zopefoundation/fix-deprecation-warning-in-3.8Marius Gedminas2019-08-083-4/+37
|\ | | | | Avoid using urllib.parse.splitport()
| * Update changelogfix-deprecation-warning-in-3.8Marius Gedminas2019-08-071-1/+2
| |
| * Avoid using urllib.parse.splitport()Marius Gedminas2019-08-072-3/+35
|/ | | | | | | | | | | | | | The function is an undocumented internal helper and emits a deprecation warning in Python 3.8. The suggested replacement is urllib.parse.urlparse(), but it's awkward for our use case (you have to add a scheme so it doesn't treat the argument as a relative URL, and it unwraps IPv6 addresses that we'd have to wrap right back into [], and it converts the port to an int whereas we expect it to be a string) so let's just reimplement the function using a regexp (which is what the stdlib did anyway). Fixes #38.
* Back to development: 5.1.1Marius Gedminas2019-07-122-1/+7
|
* Preparing release 5.1.05.1.0Marius Gedminas2019-07-122-2/+2
|
* Merge pull request #46 from zopefoundation/fix-encodings-on-py3Marius Gedminas2019-07-124-11/+122
|\ | | | | Fix character set handling on Python 3
| * Add a changelog entryfix-encodings-on-py3Marius Gedminas2019-07-101-0/+4
| |