-
Notifications
You must be signed in to change notification settings - Fork 475
Closed
Labels
Description
There is a problem with the regular expression to determine the protocol.
URI.protocol_expression = /^[a-z][a-z0-9-+-]*$/i;
https://github.com/medialize/URI.js/blob/gh-pages/src/URI.js#L172
How about changing -+-
to -+\.
?
http://stackoverflow.com/questions/3641722/valid-characters-for-uri-schemes