docs(laravel-security): drop the undefined sanitize_html validation rule

sanitize_html is not a built-in Laravel rule and the skill never
registers it, so the validator throws BadMethodCallException. The same
FormRequest already strips tags in validated(). Regenerated pi/core.

Signed-off-by: Wen <jwcastillo@gmail.com>
(cherry picked from commit 453c0651f7)
This commit is contained in:
Wen authored and haelyra committed 2026-10-20 18:01:40 -04:00
1 parent c5378bf456
commit 580acac926
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -588,7 +588,7 @@ final class StorePostRequest extends FormRequest
public function rules(): array
{
return [
'title' => ['required', 'string', 'max:255', 'sanitize_html'],
'title' => ['required', 'string', 'max:255'],
'content' => ['required', 'string', 'max:10000'],
'image' => [
'required',
+1 -1
View File
@@ -588,7 +588,7 @@ final class StorePostRequest extends FormRequest
public function rules(): array
{
return [
'title' => ['required', 'string', 'max:255', 'sanitize_html'],
'title' => ['required', 'string', 'max:255'],
'content' => ['required', 'string', 'max:10000'],
'image' => [
'required',