git: 4b0545682a69 - main - www/py-scrapy: Update to version 2.5.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Oct 2021 15:51:38 UTC
The branch main has been updated by skreuzer: URL: https://cgit.FreeBSD.org/ports/commit/?id=4b0545682a690298cd6dfb6edc6a0728e5789f11 commit 4b0545682a690298cd6dfb6edc6a0728e5789f11 Author: Steven Kreuzer <skreuzer@FreeBSD.org> AuthorDate: 2021-10-06 15:48:03 +0000 Commit: Steven Kreuzer <skreuzer@FreeBSD.org> CommitDate: 2021-10-06 15:50:52 +0000 www/py-scrapy: Update to version 2.5.1 Security Bug Fix: If you use HttpAuthMiddleware (i.e. the http_user and http_pass spider attributes) for HTTP authentication, any request exposes your credentials to the request target. To prevent unintended exposure of authentication credentials to unintended domains, you must now additionally set a new, additional spider attribute, http_auth_domain, and point it to the specific domain to which the authentication credentials must be sent. If the http_auth_domain spider attribute is not set, the domain of the first request will be considered the HTTP authentication target, and authentication credentials will only be sent in requests targeting that domain. If you need to send the same HTTP authentication credentials to multiple domains, you can use w3lib.http.basic_auth_header() instead to set the value of the Authorization header of your requests. If you really want your spider to send the same HTTP authentication credentials to any domain, set the http_auth_domain spider attribute to None. Finally, if you are a user of scrapy-splash, know that this version of Scrapy breaks compatibility with scrapy-splash 0.7.2 and earlier. You will need to upgrade scrapy-splash to a greater version for it to continue to work. --- www/py-scrapy/Makefile | 2 +- www/py-scrapy/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/www/py-scrapy/Makefile b/www/py-scrapy/Makefile index 1cb0746a3830..7dfce5876266 100644 --- a/www/py-scrapy/Makefile +++ b/www/py-scrapy/Makefile @@ -1,7 +1,7 @@ # Created by: Qing Feng <qingfeng@douban.com> PORTNAME= Scrapy -DISTVERSION= 2.5.0 +DISTVERSION= 2.5.1 CATEGORIES= www python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-scrapy/distinfo b/www/py-scrapy/distinfo index a5f52400e87d..881c8157d747 100644 --- a/www/py-scrapy/distinfo +++ b/www/py-scrapy/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1622321274 -SHA256 (Scrapy-2.5.0.tar.gz) = 0a68ed41f7173679f160c4cef2db05288548c21e7164170552adae8b13cefaab -SIZE (Scrapy-2.5.0.tar.gz) = 1071824 +TIMESTAMP = 1633530242 +SHA256 (Scrapy-2.5.1.tar.gz) = 13af6032476ab4256158220e530411290b3b934dd602bb6dacacbf6d16141f49 +SIZE (Scrapy-2.5.1.tar.gz) = 1072669