diff --git a/.ddev/commands/web/vendor-patches b/.ddev/commands/web/vendor-patches new file mode 100755 index 00000000000..032a0d2fb3c --- /dev/null +++ b/.ddev/commands/web/vendor-patches @@ -0,0 +1,7 @@ +#!/bin/bash + +## Description: create Vendor Patches +## Usage: vendor-patches +## Example: ddev vendor-patches + +php vendor/bin/vendor-patches generate diff --git a/patches/OM-918.patch b/patches/OM-918.patch index b478d357fe8..185d7e30fd8 100644 --- a/patches/OM-918.patch +++ b/patches/OM-918.patch @@ -14,12 +14,9 @@ * Read the content from locale * * Can be called like: -@@ -333,10 +340,17 @@ - $val = implode('_' , $value); - } - -- $val = urlencode((string) $val); -+ $val = urlencode($val); +@@ -335,8 +342,15 @@ + + $val = urlencode((string) $val); $id = self::_filterCacheId('Zend_LocaleL_' . $locale . '_' . $path . '_' . $val); + + // add runtime cache to avoid calling cache backend multiple times during one request