Path to this page:
Subject: CVS commit: pkgsrc/www/py-MechanicalSoup
From: Adam Ciarcinski
Date: 2023-07-08 07:24:43
Message id: 20230708052443.B7B19FBDB@cvs.NetBSD.org
Log Message:
py-MechanicalSoup: updated to 1.3.0
Version 1.3
===========
Breaking changes
----------------
* To prevent malicious web servers from reading arbitrary files from the
client, files must now be opened explicitly by the user in order to
upload their contents in form submission. For example, instead of:
browser["upload"] = "/path/to/file"
you would now use:
browser["upload"] = open("/path/to/file", "rb")
This remediates
`CVE-2023-34457 \
<https://github.com/MechanicalSoup/MechanicalSoup/security/advisories/GHSA-x456-3ccm-m6j4>`__.
Main changes
------------
* Added support for Python 3.11.
* Allow submitting a form with no submit element. This can be achieved by
passing ``submit=False`` to ``StatefulBrowser.submit_selected``.
Files: