Reviewed: https://review.opendev.org/c/openstack/cinder/+/786922 Committed: https://opendev.org/openstack/cinder/commit/c16567bd8784761d24b73678377994903b8dc35b Submitter: "Zuul (22348)" Branch: stable/wallaby
commit c16567bd8784761d24b73678377994903b8dc35b 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)
Reviewed: https:/ /review. opendev. org/c/openstack /cinder/ +/786922 /opendev. org/openstack/ cinder/ commit/ c16567bd8784761 d24b73678377994 903b8dc35b
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit c16567bd8784761 d24b73678377994 903b8dc35b
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)
Change-Id: I52b87d03c49db7
(cherry picked from commit 5d7e7547f011930