From 8d4617d5a9675e38e6832ec9d826247bf814cf17 Mon Sep 17 00:00:00 2001 From: Mikhail Svetkin Date: Thu, 19 Jul 2018 23:01:01 +0200 Subject: Fix QUrl::setPath documentation, remove default TolerantMode Change-Id: I97f6ce5fdaba3364aab3203974a3a3d4f92c8899 Reviewed-by: Thiago Macieira Reviewed-by: Timur Pocheptsov --- src/corelib/io/qurl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/io/qurl.cpp b/src/corelib/io/qurl.cpp index 4587b9fcd6..438924bd80 100644 --- a/src/corelib/io/qurl.cpp +++ b/src/corelib/io/qurl.cpp @@ -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. -- cgit v1.2.3