Skip to content

Commit f51addd

Browse files
authored
XML comment of redirectTo updated
XML comment of redirectTo updated about a mention of safeRedirectTo
1 parent 18686e8 commit f51addd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Giraffe/Core.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,7 @@ module Core =
310310

311311
/// <summary>
312312
/// Redirects to a different location with a `302` or `301` (when permanent) HTTP status code.
313+
/// Does not validate redirection. Consider alternative: safeRedirectTo
313314
/// </summary>
314315
/// <param name="permanent">If true the redirect is permanent (301), otherwise temporary (302).</param>
315316
/// <param name="location">The URL to redirect the client to.</param>

0 commit comments

Comments
 (0)