Reviewed: https://review.openstack.org/355921 Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=a6878eea9b4172081934a2bc49b2a73f6fa36466 Submitter: Jenkins Branch: stable/mitaka
commit a6878eea9b4172081934a2bc49b2a73f6fa36466 Author: Giulio Fidente <email address hidden> Date: Fri Aug 12 16:00:03 2016 -0400
Perform str_replace trying to match longest string first
Purpose is to avoid str_replace from doing partial replace when a shorter instance of a matching key is found.
Change-Id: I63c13f4eb3b1375cb2df1a34fd4f09561564f400 Co-Authored-By: Zane Bitter <email address hidden> Closes-Bug: 1600209 (cherry picked from commit a2f5b5cb9ae74fb3262948b0cf1c23fc04c4b7cb)
Reviewed: https:/ /review. openstack. org/355921 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=a6878eea9b4 172081934a2bc49 b2a73f6fa36466
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit a6878eea9b41720 81934a2bc49b2a7 3f6fa36466
Author: Giulio Fidente <email address hidden>
Date: Fri Aug 12 16:00:03 2016 -0400
Perform str_replace trying to match longest string first
Purpose is to avoid str_replace from doing partial replace
when a shorter instance of a matching key is found.
Change-Id: I63c13f4eb3b137 5cb2df1a34fd4f0 9561564f400 3262948b0cf1c23 fc04c4b7cb)
Co-Authored-By: Zane Bitter <email address hidden>
Closes-Bug: 1600209
(cherry picked from commit a2f5b5cb9ae74fb