made progression on the create team almost done
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
f9eb6fbb6d
commit
c8df556699
@ -1,8 +0,0 @@
|
|||||||
<?php
|
|
||||||
|
|
||||||
namespace App\Controller;
|
|
||||||
|
|
||||||
class FrontController
|
|
||||||
{
|
|
||||||
/* todo */
|
|
||||||
}
|
|
@ -0,0 +1,10 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Model;
|
||||||
|
|
||||||
|
class Validation
|
||||||
|
{
|
||||||
|
public static function hasHTMLInjection(string $s): bool{
|
||||||
|
return filter_var($s,FILTER_VALIDATE_REGEXP,"[<>]");
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue