Allow QML URLs to contain pre-encoded octets
authorMatthew Vogt <matthew.vogt@nokia.com>
Mon, 16 Jan 2012 01:05:23 +0000 (11:05 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 18 Jan 2012 00:37:30 +0000 (01:37 +0100)
commit3aa53b8bc383ebcdf8dc922b2670170ec012949f
tree26181d69c9cdb5a2bbd61a3c99b97523352cf08c
parent52c1d7a994216f0b37ac04a2fea4337bc0c7550b
Allow QML URLs to contain pre-encoded octets

Use QUrl Tolerant parsing mode to permit user-supplied URLs to contain
pre-encoded octets which are not mangled by string conversion.

Task-number: QTBUG-22756
Change-Id: I4b160b04340b95221d1eb3336bda8c0b38d2e232
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
src/declarative/qml/qdeclarativecompiler.cpp
src/declarative/qml/qdeclarativeproperty.cpp
src/declarative/qml/v4/qv4bindings.cpp
src/declarative/qml/v8/qv8sequencewrapper_p_p.h
tests/auto/declarative/qdeclarativeecmascript/data/urlListProperty.qml [new file with mode: 0644]
tests/auto/declarative/qdeclarativeecmascript/data/urlProperty.2.qml [new file with mode: 0644]
tests/auto/declarative/qdeclarativeecmascript/tst_qdeclarativeecmascript.cpp
tests/auto/declarative/qdeclarativelanguage/data/assignBasicTypes.qml
tests/auto/declarative/qdeclarativelanguage/tst_qdeclarativelanguage.cpp
tests/auto/declarative/qdeclarativeproperty/tst_qdeclarativeproperty.cpp