Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix GHA: ubuntu-latest no longer contains Python 3.5 and 3.6HEADmaster | Michael Howitz | 2022-12-15 | 5 | -9/+14 |
| | |||||
* | Fix tox lint run + isort imports. | Michael Howitz | 2022-08-05 | 48 | -171/+283 |
| | |||||
* | Fix badge. | Michael Howitz | 2022-03-15 | 1 | -2/+2 |
| | |||||
* | Back to development: 6.1.1 | Michael Howitz | 2022-03-15 | 2 | -1/+7 |
| | |||||
* | Preparing release 6.1.06.1.0 | Michael Howitz | 2022-03-15 | 2 | -2/+2 |
| | |||||
* | Add support for Python 3.10. | Michael Howitz | 2022-03-15 | 9 | -16/+47 |
| | |||||
* | Merge pull request #66 from cjwatson/revamp-decoding | Colin Watson | 2022-03-09 | 3 | -30/+84 |
|\ | | | | | Revamp handling of query string and form decoding | ||||
| * | Revamp handling of query string and form decoding | Colin Watson | 2021-07-27 | 3 | -30/+84 |
|/ | | | | | | | | | | | | | | | | | | | The previous approach was to tell underlying libraries to decode inputs using ISO-8859-1, then re-encode as ISO-8859-1 and decode using an encoding deduced from the `Accept-Charset` request header. However, this didn't make much conceptual sense (since `Accept-Charset` defines the preferred *response* encoding), and it made it impossible to handle cases where the encoding was specified as something other than ISO-8859-1 in the request (which might even be on a per-item basis, in the case of `multipart/form-data` input). We now only perform the dubious `Accept-Charset` guessing for query strings; in other cases we let `multipart` determine the encoding, defaulting to UTF-8 as per the HTML specification. For cases where applications need to specify some other default form encoding, `BrowserRequest` subclasses can now set `default_form_charset`. Fixes #65. | ||||
* | Back to development: 6.0.3 | Adam Groszer | 2021-06-07 | 2 | -1/+7 |
| | |||||
* | Preparing release 6.0.26.0.2 | Adam Groszer | 2021-06-07 | 2 | -2/+2 |
| | |||||
* | Merge pull request #64 from Shoobx/master | Justas Sadzevičius | 2021-06-07 | 2 | -0/+7 |
|\ | | | | | Handle empty Content-Type environment variable gracefully | ||||
| * | Handle empty Content-Type environment variable gracefully | Justas Sadzevicius | 2021-06-07 | 2 | -0/+7 |
|/ | |||||
* | Merge pull request #63 from cjwatson/traceback-reference-cycle | Colin Watson | 2021-05-19 | 2 | -1/+2 |
|\ | | | | | Avoid traceback reference cycle in publish | ||||
| * | Avoid traceback reference cycle in publish | Colin Watson | 2021-05-19 | 2 | -1/+2 |
|/ | | | | | | | ``sys.exc_info()`` called from ``publish`` returns a tuple containing the exception's traceback object, which has a reference to the ``publish`` frame. Storing that in a local variable creates a reference cycle. Clear that variable in a ``finally`` block to avoid this. | ||||
* | Fix generating documentation. | Michael Howitz | 2021-05-19 | 5 | -10/+25 |
| | | | | Use `Sphinx < 4` to prevent problems repoze.sphinx.autointerface. | ||||
* | Back to development: 6.0.2 | Jason Madden | 2021-04-15 | 2 | -1/+7 |
| | |||||
* | Preparing release 6.0.16.0.1 | Jason Madden | 2021-04-15 | 2 | -2/+2 |
| | |||||
* | Merge pull request #61 from zopefoundation/zope-interface-5.4 | Jason Madden | 2021-03-26 | 3 | -82/+93 |
|\ | | | | | Fix test compatibility with zope.interface 5.4 | ||||
| * | Fix test compatibility with zope.interface 5.4zope-interface-5.4 | Jason Madden | 2021-03-25 | 3 | -82/+93 |
|/ | | | | | | Explicitly use the repr of interfaces so we can work with any version of zope.interface. See https://github.com/zopefoundation/zope.interface/pull/237#issuecomment-807188771 | ||||
* | Update to changed naming in meta/config (#59) | Michael Howitz | 2021-01-21 | 1 | -2/+2 |
| | |||||
* | Back to development: 6.0.1 | Michael Howitz | 2021-01-20 | 2 | -1/+7 |
| | |||||
* | Preparing release 6.0.06.0.0 | Michael Howitz | 2021-01-20 | 2 | -2/+2 |
| | |||||
* | Merge pull request #58 from zopefoundation/config-with-pure-python | Michael Howitz | 2021-01-20 | 53 | -865/+895 |
|\ | | | | | Support Python 3.9, Lint the code, Use GHA as CI system | ||||
| * | More fixes requested in code review.config-with-pure-python | Michael Howitz | 2021-01-18 | 2 | -55/+53 |
| | | |||||
| * | Update src/zope/publisher/browser.py | Michael Howitz | 2021-01-18 | 1 | -2/+0 |
| | | | | | | Co-authored-by: Marius Gedminas <marius@gedmin.as> | ||||
| * | Update src/zope/publisher/browser.py | Michael Howitz | 2021-01-18 | 1 | -1/+2 |
| | | | | | | Co-authored-by: Marius Gedminas <marius@gedmin.as> | ||||
| * | Update src/zope/publisher/tests/test_http.py | Michael Howitz | 2021-01-18 | 1 | -2/+2 |
| | | | | | | Co-authored-by: Marius Gedminas <marius@gedmin.as> | ||||
| * | Configuring for pure-python | Michael Howitz | 2021-01-18 | 2 | -0/+8 |
| | | |||||
| * | Implement some of the fixes requested in code review. | Michael Howitz | 2021-01-18 | 18 | -64/+18 |
| | | |||||
| * | Update src/zope/publisher/zcml.py | Michael Howitz | 2021-01-18 | 1 | -1/+1 |
| | | | | | | Co-authored-by: Marius Gedminas <marius@gedmin.as> | ||||
| * | Configuring for pure-python | Michael Howitz | 2021-01-18 | 2 | -4/+6 |
| | | |||||
| * | Configuring for pure-python | Michael Howitz | 2020-12-18 | 1 | -3/+3 |
| | | |||||
| * | Configuring for pure-python | Michael Howitz | 2020-12-18 | 2 | -3/+3 |
| | | |||||
| * | Lint the code and add support for Python 3.9. | Michael Howitz | 2020-12-18 | 43 | -510/+647 |
| | | |||||
| * | Configuring for pure-python | Michael Howitz | 2020-12-18 | 10 | -287/+219 |
|/ | |||||
* | Merge pull request #55 from cjwatson/multipart-parser | Colin Watson | 2020-11-20 | 4 | -112/+181 |
|\ | | | | | Port form data parsing to multipart | ||||
| * | Fix handling of non-ASCII form-data filenames | Colin Watson | 2020-09-05 | 2 | -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 names | Colin Watson | 2020-09-05 | 2 | -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 too | Colin Watson | 2020-09-04 | 1 | -1/+1 |
| | | |||||
| * | Fix the last few ResourceWarnings | Colin Watson | 2020-09-04 | 2 | -2/+10 |
| | | | | | | | | multipart 0.2.2 fixed most of these; this tidies up the last few. | ||||
| * | Bump to 6.0.0 | Colin Watson | 2020-08-24 | 1 | -1/+1 |
| | | | | | | | | | | Dropping `FileUpload.name` _probably_ doesn't break anything, but it's clearly a possibility. | ||||
| * | Drop FileUpload.name | Colin Watson | 2020-08-21 | 3 | -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 Watson | 2020-08-21 | 1 | -4/+0 |
| | | | | | | | | | | | | This reverts commit 21721e875ed23ee307062475acd92e5bde351513. This would result in a ZopeFieldStorage with changed behaviour, which we don't want. | ||||
| * | Add BBB import for ZopeFieldStorage | Colin Watson | 2020-08-20 | 1 | -0/+4 |
| | | |||||
| * | Clarify comment | Colin Watson | 2020-08-20 | 1 | -2/+3 |
| | | |||||
| * | Port form data parsing to multipart | Colin Watson | 2020-08-04 | 3 | -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-sed | Jens Vagelpohl | 2020-10-28 | 1 | -2/+2 |
|\ \ | |/ |/| | Update badge URL for Travis | ||||
| * | Update badge URL for Travisall-repos_autofix_all-repos-sed | Jürgen Gmach | 2020-10-28 | 1 | -2/+2 |
|/ | | | | Committed via https://github.com/asottile/all-repos | ||||
* | Back to development: 5.2.2 | Michael Howitz | 2020-06-15 | 2 | -1/+7 |
| | |||||
* | Preparing release 5.2.15.2.1 | Michael Howitz | 2020-06-15 | 2 | -2/+2 |
| |