ruby/test/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
..
test_common.rb suppress warnings: URI.regexp is obsolete 2014-06-27 06:25:44 +00:00
test_ftp.rb * lib/uri/ftp.rb (URI::FTP#initialize): raise InvalidURIError if "//" 2012-08-30 00:22:11 +00:00
test_generic.rb * lib/uri/generic.rb (check_port): allow strings for port= as 2014-06-23 03:18:51 +00:00
test_http.rb * lib/net/http.rb (URI::HTTP#request_uri): return nil when the uri 2011-06-03 00:32:25 +00:00
test_ldap.rb * lib/uri/common.rb (URI::Parser#initialize_pattern): 2010-12-06 01:41:10 +00:00
test_mailto.rb * lib/uri/mailto.rb: update to latest specs, RFC 6068 and HTML5. 2014-06-27 19:26:43 +00:00
test_parser.rb * lib/uri/common.rb (URI::Parser): new class. 2008-09-10 09:34:49 +00:00