Remove the tolerant parsing function and make the recoder tolerant
authorThiago Macieira <thiago.macieira@intel.com>
Tue, 6 Sep 2011 18:36:28 +0000 (20:36 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 29 Mar 2012 23:19:59 +0000 (01:19 +0200)
commit73e16b15a6b3dc9838763407665d5797ba5618b2
tree9d89100a2d65e99d27d1a815175e9ae5ef58fcde
parent6028efa3ff56b58ce70d5b8fdb53030185149028
Remove the tolerant parsing function and make the recoder tolerant

The reason for this change is that the strict parser made little sense
to exist. What would the recoder do if it was passed an invalid
string?

I believe that the tolerant recoder is more efficient than the
correcting code followed by the strict recoder. This makes the recoder
more complex and probably a little less efficient, but it's better in
the common case (tolerant that doesn't need fixes) and in the worst
case (needs fixes).

Change-Id: I68a0c9fda6765de05914cbd6ba7d3cea560a7cd6
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/corelib/io/qurlrecode.cpp
tests/auto/corelib/io/qurlinternal/tst_qurlinternal.cpp