Comment 9 for bug 1600209

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

Reviewed: https://review.openstack.org/355950
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=f32dbe7838c9cf9b935247a145bd55e806ea44b2
Submitter: Jenkins
Branch: stable/liberty

commit f32dbe7838c9cf9b935247a145bd55e806ea44b2
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.

    Conflicts:
     heat/engine/hot/functions.py

    Change-Id: I63c13f4eb3b1375cb2df1a34fd4f09561564f400
    Co-Authored-By: Zane Bitter <email address hidden>
    Closes-Bug: 1600209
    (cherry picked from commit a2f5b5cb9ae74fb3262948b0cf1c23fc04c4b7cb)