mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
fdd5acff5d
it's not very likely to happen (it did in my case :-) ) but if the value is an array, sprintf will fail (because raw2att accepts array, but sprintf doesn't). i suggest to json encode any array data to ensure it's safely included in the html. Or we should throw proper exceptions to make sure invalid values do not result in a php error. |
||
---|---|---|
.. | ||
conf | ||
Control | ||
Core | ||
Dev | ||
Forms | ||
i18n | ||
includes | ||
Logging | ||
ORM | ||
Security | ||
View |