Skip to content

Commit

Permalink
Fix QUrl::setPath documentation, remove default TolerantMode
Browse files Browse the repository at this point in the history
Change-Id: I97f6ce5fdaba3364aab3203974a3a3d4f92c8899
Reviewed-by: Thiago Macieira <[email protected]>
Reviewed-by: Timur Pocheptsov <[email protected]>
  • Loading branch information
msvetkin committed Jul 24, 2018
1 parent 3bc0f17 commit 8d4617d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/corelib/io/qurl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2530,7 +2530,7 @@ int QUrl::port(int defaultPort) const
The \a path data is interpreted according to \a mode: in StrictMode,
any '%' characters must be followed by exactly two hexadecimal characters
and some characters (including space) are not allowed in undecoded form. In
TolerantMode (the default), all characters are accepted in undecoded form and the
TolerantMode, all characters are accepted in undecoded form and the
tolerant parser will correct stray '%' not followed by two hex characters.
In DecodedMode, '%' stand for themselves and encoded characters are not
possible.
Expand Down

0 comments on commit 8d4617d

Please sign in to comment.