pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-url-normalize
Module Name: pkgsrc
Committed By: adam
Date: Wed Sep 23 13:07:52 UTC 2026
Modified Files:
pkgsrc/www/py-url-normalize: Makefile distinfo
Log Message:
py-url-normalize: updated to 3.0.1
3.0.1
Fixed
Preserve invalid UTF-8 percent-encoded octets instead of replacing them with U+FFFD; valid UTF-8 still normalizes to NFC.
Preserve percent-encoded reserved characters in paths, keeping values such as a%2Fb distinct from a/b.
Preserve encoded plus signs (%2B) in query parameters and explicit empty values such as flag=.
Normalize Unicode and unsafe characters in URL credentials while preserving encoded delimiters; correctly separate credentials containing @ from the host.
Correctly parse bracketed IPv6 hosts and ports, lowercase IPv6 addresses, and preserve zone identifier case.
Recognize long and custom URL schemes, protocol-relative URLs, and bare domains or localhost with numeric ports.
Remove leading whitespace and parser-ignored control characters before applying default domains and detecting URL schemes, preserving the intended destination.
Trim trailing authority whitespace without discarding trailing spaces or punctuation belonging to paths, query values, or fragments.
Convert hashbang fragments (#!) into a single escaped query parameter, preserving existing parameters and leaving ordinary fragments intact.
Match query parameter allowlists against normalized hosts and equivalent custom domain keys, including Unicode/Punycode aliases, case variants, and trailing dots. Exact canonical keys take precedence
over aliases.
Decode IDNA host output as ASCII regardless of the charset argument.
Keep encoded backslashes and C0/C1 control characters encoded in url_humanize() output, and retain the normalized URL when a decoding candidate cannot be parsed.
Resolve query parameter allowlists once per URL to avoid repeated domain alias scans for each parameter.
Documentation
Correct normalization examples and clarify that parameter filtering uses allowlists, unknown domains have no default allowed parameters, and Unicode URL data uses UTF-8 percent encoding regardless of
charset.
Internal
Enforce 100% statement coverage in the test suite and expand regression coverage for URL component handling.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/www/py-url-normalize/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/py-url-normalize/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/py-url-normalize/Makefile
diff -u pkgsrc/www/py-url-normalize/Makefile:1.4 pkgsrc/www/py-url-normalize/Makefile:1.5
--- pkgsrc/www/py-url-normalize/Makefile:1.4 Tue Apr 28 09:04:50 2026
+++ pkgsrc/www/py-url-normalize/Makefile Wed Sep 23 13:07:51 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2026/04/28 09:04:50 adam Exp $
+# $NetBSD: Makefile,v 1.5 2026/09/23 13:07:51 adam Exp $
-DISTNAME= url_normalize-3.0.0
+DISTNAME= url_normalize-3.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_PYPI:=u/url_normalize/}
@@ -12,8 +12,8 @@ LICENSE= mit
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
DEPENDS+= ${PYPKGPREFIX}-idna>=3.3:../../www/py-idna
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
-TEST_DEPENDS+= ${PYPKGPREFIX}-test_socket-[0-9]*:../../devel/py-test_socket
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=0:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test_socket>=0:../../devel/py-test_socket
USE_LANGUAGES= # none
Index: pkgsrc/www/py-url-normalize/distinfo
diff -u pkgsrc/www/py-url-normalize/distinfo:1.2 pkgsrc/www/py-url-normalize/distinfo:1.3
--- pkgsrc/www/py-url-normalize/distinfo:1.2 Tue Apr 28 09:04:50 2026
+++ pkgsrc/www/py-url-normalize/distinfo Wed Sep 23 13:07:51 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2026/04/28 09:04:50 adam Exp $
+$NetBSD: distinfo,v 1.3 2026/09/23 13:07:51 adam Exp $
-BLAKE2s (url_normalize-3.0.0.tar.gz) = b97a74c95d072e58172e9fb9d402fd74b95f37acb750bfadc4b8ae5148cfd65e
-SHA512 (url_normalize-3.0.0.tar.gz) = a6183d0399f9560c9b9b8a5caa1a7c62703d5f1022f12e22ae2794fb6fa6455063a0005d9a6d8c48d72e8d765b1084db67f3d911a0606d77097167c6066eeb58
-Size (url_normalize-3.0.0.tar.gz) = 21777 bytes
+BLAKE2s (url_normalize-3.0.1.tar.gz) = c08602f2aafbdc9eae76136e92607f58b7de79021d8b47d5be2f827fda339a6e
+SHA512 (url_normalize-3.0.1.tar.gz) = 99066a1b921c5f546bb7af94b8329f4f2994bc2e7ca0a058a8a21061b9722d00bfbde1cb25c2bf52f697f4d7d0d03b6e0f367c6794a6143b0f6915ddf176209b
+Size (url_normalize-3.0.1.tar.gz) = 28198 bytes
Home |
Main Index |
Thread Index |
Old Index