mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update 04_Secure_Coding.md
Fix(Format): Warning format missing entry tag.
This commit is contained in:
parent
d68a50aeaa
commit
ed78b60479
@ -94,6 +94,7 @@ Example:
|
|||||||
$members = Member::get()->where(sprintf('"Name" = %s', Convert::raw2sql($_GET['name'], true)));
|
$members = Member::get()->where(sprintf('"Name" = %s', Convert::raw2sql($_GET['name'], true)));
|
||||||
|
|
||||||
```
|
```
|
||||||
|
[warning]
|
||||||
It is NOT good practice to "be sure" and convert the data passed to the functions above manually. This might
|
It is NOT good practice to "be sure" and convert the data passed to the functions above manually. This might
|
||||||
result in *double escaping* and alters the actually saved data (e.g. by adding slashes to your content).
|
result in *double escaping* and alters the actually saved data (e.g. by adding slashes to your content).
|
||||||
[/warning]
|
[/warning]
|
||||||
|
Loading…
Reference in New Issue
Block a user