mikechambers / as3corelib

An ActionScript 3 Library that contains a number of classes and utilities for working with ActionScript? 3. These include classes for MD5 and SHA 1 hashing, Image encoders, and JSON serialization as well as general String, Number and Date APIs.
1.5k stars 451 forks source link

URI.as bug fixes #160

Closed bpanulla closed 1 year ago

bpanulla commented 13 years ago

Added support for additional URI schemes per RFC 3986[1]. Specifically this patch adds support for three special characters (".", "+", and "-") in the URI scheme that were previously being rejected as invalid.

I also included some special handling for AIR-specific URI schemes (app:/ and app-storage:/), since they're actually hierarchical despite the single slash.

I closed the previous pull request and replaced it with this one, since the branch now has a couple of different fixes for the URI class.

[1] http://tools.ietf.org/html/rfc3986