Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-azure-storage-blob for
openSUSE:Factory checked in at 2026-09-18 22:04:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-azure-storage-blob (Old)
and /work/SRC/openSUSE:Factory/.python-azure-storage-blob.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-azure-storage-blob"
Fri Sep 18 22:04:38 2026 rev:49 rq:1378679 version:12.30.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-azure-storage-blob/python-azure-storage-blob.changes
2026-09-02 17:00:22.358408118 +0200
+++
/work/SRC/openSUSE:Factory/.python-azure-storage-blob.new.383539/python-azure-storage-blob.changes
2026-09-18 22:05:23.069691492 +0200
@@ -1,0 +2,8 @@
+Thu Sep 17 07:45:22 UTC 2026 - John Paul Adrian Glaubitz
<[email protected]>
+
+- New upstream release
+ + Version 12.30.2
+ + For detailed information about changes see the
+ CHANGELOG.md file provided with this package
+
+-------------------------------------------------------------------
Old:
----
azure_storage_blob-12.30.1.tar.gz
New:
----
azure_storage_blob-12.30.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-azure-storage-blob.spec ++++++
--- /var/tmp/diff_new_pack.TgllDA/_old 2026-09-18 22:05:24.292742750 +0200
+++ /var/tmp/diff_new_pack.TgllDA/_new 2026-09-18 22:05:24.296742918 +0200
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-azure-storage-blob
-Version: 12.30.1
+Version: 12.30.2
Release: 0
Summary: Microsoft Azure Storage Blob Client Library for Python
License: MIT
++++++ azure_storage_blob-12.30.1.tar.gz -> azure_storage_blob-12.30.2.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure_storage_blob-12.30.1/CHANGELOG.md
new/azure_storage_blob-12.30.2/CHANGELOG.md
--- old/azure_storage_blob-12.30.1/CHANGELOG.md 2026-08-27 19:22:34.000000000
+0200
+++ new/azure_storage_blob-12.30.2/CHANGELOG.md 2026-09-16 23:44:06.000000000
+0200
@@ -1,5 +1,10 @@
# Release History
+## 12.30.2 (2026-09-16)
+
+### Bugs Fixed
+- Fixed an issue where a header name or value containing a `\r` or `\n` was
written directly into a batch request body. Such headers are now rejected with
a `ValueError`.
+
## 12.30.1 (2026-08-24)
### Bugs Fixed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure_storage_blob-12.30.1/PKG-INFO
new/azure_storage_blob-12.30.2/PKG-INFO
--- old/azure_storage_blob-12.30.1/PKG-INFO 2026-08-27 19:24:12.725366600
+0200
+++ new/azure_storage_blob-12.30.2/PKG-INFO 2026-09-16 23:45:30.099450800
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: azure-storage-blob
-Version: 12.30.1
+Version: 12.30.2
Summary: Microsoft Azure Blob Storage Client Library for Python
Home-page:
https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
Author: Microsoft Corporation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_storage_blob-12.30.1/azure/storage/blob/_shared/request_handlers.py
new/azure_storage_blob-12.30.2/azure/storage/blob/_shared/request_handlers.py
---
old/azure_storage_blob-12.30.1/azure/storage/blob/_shared/request_handlers.py
2026-08-27 19:22:34.000000000 +0200
+++
new/azure_storage_blob-12.30.2/azure/storage/blob/_shared/request_handlers.py
2026-09-16 23:44:07.000000000 +0200
@@ -263,6 +263,11 @@
# append remaining headers (this will set the Content-Length, as it was
set on `sub-request`)
for header_name, header_value in headers.items():
if header_value is not None:
+ if "\r" in header_name or "\n" in header_name or "\r" in
header_value or "\n" in header_value:
+ raise ValueError(
+ f"Invalid header {header_name!r} in batch sub-request: the
header name or its value "
+ r"contains a '\r' or '\n' character, which is not
permitted."
+ )
sub_request_body.append(header_name)
sub_request_body.append(": ")
sub_request_body.append(header_value)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_storage_blob-12.30.1/azure/storage/blob/_version.py
new/azure_storage_blob-12.30.2/azure/storage/blob/_version.py
--- old/azure_storage_blob-12.30.1/azure/storage/blob/_version.py
2026-08-27 19:22:34.000000000 +0200
+++ new/azure_storage_blob-12.30.2/azure/storage/blob/_version.py
2026-09-16 23:44:07.000000000 +0200
@@ -4,4 +4,4 @@
# license information.
# --------------------------------------------------------------------------
-VERSION = "12.30.1"
+VERSION = "12.30.2"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/azure_storage_blob-12.30.1/azure_storage_blob.egg-info/PKG-INFO
new/azure_storage_blob-12.30.2/azure_storage_blob.egg-info/PKG-INFO
--- old/azure_storage_blob-12.30.1/azure_storage_blob.egg-info/PKG-INFO
2026-08-27 19:24:12.000000000 +0200
+++ new/azure_storage_blob-12.30.2/azure_storage_blob.egg-info/PKG-INFO
2026-09-16 23:45:29.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: azure-storage-blob
-Version: 12.30.1
+Version: 12.30.2
Summary: Microsoft Azure Blob Storage Client Library for Python
Home-page:
https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
Author: Microsoft Corporation
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/azure_storage_blob-12.30.1/tests/test_container.py
new/azure_storage_blob-12.30.2/tests/test_container.py
--- old/azure_storage_blob-12.30.1/tests/test_container.py 2026-08-27
19:22:34.000000000 +0200
+++ new/azure_storage_blob-12.30.2/tests/test_container.py 2026-09-16
23:44:07.000000000 +0200
@@ -1589,6 +1589,15 @@
blob_list = []
container_client.delete_blobs(*blob_list)
+ @pytest.mark.parametrize("value", ["\r", "\n", "\r\n"])
+ def test_batch_delete_blobs_rejects_crlf_in_header(self, value):
+ container_client =
ContainerClient("https://mystorageaccount.blob.core.windows.net", "container")
+
+ with pytest.raises(ValueError):
+ container_client.delete_blobs(
+ "blob1",
if_tags_match_condition=f"\"tag1\"='first{value}x-ms-lease-id: injected'"
+ )
+
@pytest.mark.live_test_only
@BlobPreparer()
def test_delete_blobs_simple(self, **kwargs):