1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/uri
naruse e63ab5d3ad * lib/uri/mailto.rb: update to latest specs, RFC 6068 and HTML5.
* lib/uri/mailto.rb (HEADER_PATTERN): removed.

* lib/uri/mailto.rb (HEADER_REGEXP): use RFC 6068 hfields.

* lib/uri/mailto.rb (EMAIL_REGEXP): use HTML5 email regexp.

* lib/uri/mailto.rb (URI::MailTo.build): support multiple to addresses.

* lib/uri/mailto.rb (URI::MailTo#initialize): Support multiple to
  addresses. Don't check with regexp, only split.

* lib/uri/mailto.rb (URI::MailTo#check_to): verify by matching
  URI path-rootless and HTML5 email regexp with unescaped one.

* lib/uri/mailto.rb (URI::MailTo#check_headers): verify only by
  HEADER_REGEXP.

* lib/uri/mailto.rb (URI::MailTo#set_headers): don't check by
  HEADER_REGEXP, only split it.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-06-27 19:26:43 +00:00
..
common.rb support RFC3986 [Feature #2542] 2014-06-22 00:22:19 +00:00
ftp.rb fix that arg_check didn't work 2014-06-22 00:21:57 +00:00
generic.rb * lib/uri/generic.rb (check_port): allow strings for port= as 2014-06-23 03:18:51 +00:00
http.rb * lib/uri/http.rb (URI::HTTP.build): Fix example 2012-11-05 01:19:09 +00:00
https.rb * lib/uri.rb: Add toplevel documentation. Patch by Vincent Batts. 2011-05-13 20:03:21 +00:00
ldap.rb * lib/uri.rb: Add toplevel documentation. Patch by Vincent Batts. 2011-05-13 20:03:21 +00:00
ldaps.rb * lib/uri.rb: Add toplevel documentation. Patch by Vincent Batts. 2011-05-13 20:03:21 +00:00
mailto.rb * lib/uri/mailto.rb: update to latest specs, RFC 6068 and HTML5. 2014-06-27 19:26:43 +00:00
rfc2396_parser.rb support RFC3986 [Feature #2542] 2014-06-22 00:22:19 +00:00
rfc3986_parser.rb * lib/uri/generic.rb (check_port): allow strings for port= as 2014-06-23 03:18:51 +00:00