mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
ac489509be
SS_HTMLValue::getContent() uses urldecode() on the content returned by saveHTML() -- this was done to fix encoded HTML entities like square brackets, which are used by shortcodes. Unfortunately, this also removes valid characters like "+" from the content. This fixes it so square bracket entities are decoded *only*, and leaves everything else as-is.