Skip to content

Commit c4ebf3a

Browse files
authored
[5.x] Escape redirect in user tag (#11999)
1 parent cb3f462 commit c4ebf3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Tags/Concerns/RendersForms.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ protected function formMetaFields($meta)
104104
{
105105
return collect($meta)
106106
->map(function ($value, $key) {
107-
return sprintf('<input type="hidden" name="_%s" value="%s" />', $key, $value);
107+
return sprintf('<input type="hidden" name="_%s" value="%s" />', $key, e($value));
108108
})
109109
->implode("\n");
110110
}

0 commit comments

Comments
 (0)