On quinta-feira, 7 de novembro de 2013 14:02:06, Philipp Kursawe wrote:
> My code just broke when I wanted to use the return value of
> requestQuery.queryItemValue("redirect_uri");
> 
> and expected it to be "schema://authorized" (as in <5.2) but instead got it
> back as undecoded value.
> 
> So has the default behaviour changed? I couldn't find anything in the
> commit history about it.

There was a behaviour change, indeed. I fixed some problems with our 
understanding of the URI specification.

In specific, this paragraph from RFC 3986:

       URIs that differ in the replacement of a reserved character with
       its corresponding percent-encoded octet are not equivalent.

Qt 5.0 and 5.1 got it wrong. Qt 4 was mostly right. Qt 3 was completely 
broken.

For a full explanation, see
  
https://qt.gitorious.org/qt/qtbase/commit/993bbb4d4be524321575668740ea46c6665d6064

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to