Reviewed: https://review.opendev.org/c/openstack/cinder/+/793169 Committed: https://opendev.org/openstack/cinder/commit/f6d7b09195ce738576252736708a7f3417f761db Submitter: "Zuul (22348)" Branch: stable/ussuri
commit f6d7b09195ce738576252736708a7f3417f761db Author: Eric Harney <email address hidden> Date: Mon Apr 12 09:24:47 2021 -0400
Open local image files with "rb" mode
When using "file" in allowed_direct_url_schemes, open image files w/ binary mode.
Closes-Bug: #1923313 Change-Id: I52b87d03c49db74002f09cfeea86bc0ac7ce8a42 (cherry picked from commit 5d7e7547f0119300ecb8f6cd171b04ead3210ecc) (cherry picked from commit c16567bd8784761d24b73678377994903b8dc35b)
Reviewed: https:/ /review. opendev. org/c/openstack /cinder/ +/793169 /opendev. org/openstack/ cinder/ commit/ f6d7b09195ce738 576252736708a7f 3417f761db
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/ussuri
commit f6d7b09195ce738 576252736708a7f 3417f761db
Author: Eric Harney <email address hidden>
Date: Mon Apr 12 09:24:47 2021 -0400
Open local image files with "rb" mode
When using "file" in allowed_ direct_ url_schemes,
open image files w/ binary mode.
Closes-Bug: #1923313 4002f09cfeea86b c0ac7ce8a42 0ecb8f6cd171b04 ead3210ecc) d24b73678377994 903b8dc35b)
Change-Id: I52b87d03c49db7
(cherry picked from commit 5d7e7547f011930
(cherry picked from commit c16567bd8784761