Fixes #8509. Makes URL regexp less overzealous and ensures it recognizes URL schemes...
authorjaubourg <j@ubourg.net>
Tue, 15 Mar 2011 18:20:03 +0000 (19:20 +0100)
committerjaubourg <j@ubourg.net>
Tue, 15 Mar 2011 18:20:03 +0000 (19:20 +0100)
commit714ae379db9dcb704c04080196a05d13a028f7a4
tree00831bb2f50f7f60d448469e652452923475de3e
parent6c124d3dd47fb399c7512c5c3b3420e438c32b65
Fixes #8509. Makes URL regexp less overzealous and ensures it recognizes URL schemes which do not contain a conformant hierarchical structure ( as per section 2.1.2 of ietf.org/rfc/rfc2718.txt ). Also adds about: and adobe air's app: and app-storage: to the list of local protocols and provides a failover in case document.location is illformed. Unit test added.
src/ajax.js
test/unit/ajax.js