This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #8509. Makes URL regexp less overzealous and ensures it recogni…
…zes URL schemes which do not contain a conformant hierarchical structure ( as per section 2.1.2 of http://www.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.
- Loading branch information
Showing 2 changed files with 14 additions and 4 deletions.