Alles anzeigenWoltLab Suite 5.4.12 / 5.3.18 / 5.2.18 / 3.1.26
The previous update included a change to the behavior of the |encodeJSON template modifier to mitigate a potential security issue. This caused the structured data (used for the Google search engine and others) to contain encoded characters. While not causing any security issues itself it did prevent search engines from correctly evaluating the structured data.
For Developers
The |json template modifier was implemented in the development version of WoltLab Suite 5.5 as a replacement for the |encodeJSON modifier that has several flaws. The decision was made to backport this change to WoltLab Suite 3.1 and newer in order to resolve the issue addressed in this update.
https://github.com/WoltLab/WCF/pull/4645
If you are working with JSON data, most notably ld+json content, we highly suggest that you review the changes in the following commit. Please take note that the removal of the quotes around the string is intentional, because |json internally relies on \json_encode().
https://github.com/WoltLab/WCF…44b20d0b4d58eca2bad80d9d3
Notable Changes
WoltLab Suite Blog
- Structured data in templates was malformed. 3.1 5.2 5.3 5.4
WoltLab Suite Calendar
- Structured data in templates was malformed. 5.3 5.4
WoltLab Suite Forum
- Structured data in templates was malformed. 5.2 5.3 5.4
WoltLab Suite Core
- Structured data in templates was malformed. 3.1 5.2 5.3 5.4
- Introduced the |json template modifier as a replacement for |encodeJSON. 3.1 5.2 5.3 5.4
Quelle: https://www.woltlab.com/commun…-11-5-3-17-5-2-17-3-1-25/