-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #846 from ksss/uri-parse-for
Fix URI signatures
- Loading branch information
Showing
5 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module URI | ||
# FTP URI syntax is defined by RFC1738 section 3.2. | ||
# | ||
# This class will be redesigned because of difference of implementations; | ||
# the structure of its path. draft-hoffman-ftp-uri-04 is a draft but it | ||
# is a good summary about the de facto spec. | ||
# http://tools.ietf.org/html/draft-hoffman-ftp-uri-04 | ||
class FTP < Generic | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module URI | ||
# RFC6068, the mailto URL scheme. | ||
class MailTo < Generic | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module URI | ||
# The syntax of WS URIs is defined in RFC6455 section 3. | ||
# | ||
# Note that the Ruby URI library allows WS URLs containing usernames and | ||
# passwords. This is not legal as per the RFC, but used to be | ||
# supported in Internet Explorer 5 and 6, before the MS04-004 security | ||
# update. See <URL:http://support.microsoft.com/kb/834489>. | ||
class WS < Generic | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
module URI | ||
# The default port for WSS URIs is 443, and the scheme is 'wss:' rather | ||
# than 'ws:'. Other than that, WSS URIs are identical to WS URIs; | ||
# see URI::WS. | ||
class WSS < WS | ||
end | ||
end |