Skip to content

Commit

Permalink
Document :validate_utf8 option on fetch_query_params/2 (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnederhoff committed Aug 5, 2020
1 parent 45b50a6 commit 19bf578
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/plug/conn.ex
Original file line number Diff line number Diff line change
Expand Up @@ -969,6 +969,8 @@ defmodule Plug.Conn do
## Options
* `:length` - the maximum query string length. Defaults to `1_000_000` bytes.
* `:validate_utf8` - boolean that tells whether or not to validate the keys and
values of the decoded query string are UTF-8 encoded. Defaults to `true`.
"""
@spec fetch_query_params(t, Keyword.t()) :: t
Expand Down

0 comments on commit 19bf578

Please sign in to comment.