cloudinary / cloudinary_gem

Cloudinary GEM for Ruby on Rails integration
https://cloudinary.com
420 stars 285 forks source link

Complex expressions now produce correct results #436

Closed YomesInc closed 3 years ago

YomesInc commented 3 years ago

Brief Summary of Changes

User-defined variables which contain a string that matches a predefined variable (but does not start with that string) should not be affected when normalized.

For example $myheight_100 should not be normalized to $myh_100 but remain $myheight_100.

This PR fixes this and other similar cases.

What does this PR address?

[x] Bug fix

Are tests included?

[x] Yes [ ] No

Reviewer, Please Note: