Comment 8 for bug 1600209

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (stable/mitaka)

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)