Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/AnonR/anonr.TX.../opt/alt/ruby27/share/ruby
File: uri.rb
# frozen_string_literal: false
[0] Fix | Delete
# URI is a module providing classes to handle Uniform Resource Identifiers
[1] Fix | Delete
# (RFC2396[http://tools.ietf.org/html/rfc2396]).
[2] Fix | Delete
#
[3] Fix | Delete
# == Features
[4] Fix | Delete
#
[5] Fix | Delete
# * Uniform way of handling URIs.
[6] Fix | Delete
# * Flexibility to introduce custom URI schemes.
[7] Fix | Delete
# * Flexibility to have an alternate URI::Parser (or just different patterns
[8] Fix | Delete
# and regexp's).
[9] Fix | Delete
#
[10] Fix | Delete
# == Basic example
[11] Fix | Delete
#
[12] Fix | Delete
# require 'uri'
[13] Fix | Delete
#
[14] Fix | Delete
# uri = URI("http://foo.com/posts?id=30&limit=5#time=1305298413")
[15] Fix | Delete
# #=> #<URI::HTTP http://foo.com/posts?id=30&limit=5#time=1305298413>
[16] Fix | Delete
#
[17] Fix | Delete
# uri.scheme #=> "http"
[18] Fix | Delete
# uri.host #=> "foo.com"
[19] Fix | Delete
# uri.path #=> "/posts"
[20] Fix | Delete
# uri.query #=> "id=30&limit=5"
[21] Fix | Delete
# uri.fragment #=> "time=1305298413"
[22] Fix | Delete
#
[23] Fix | Delete
# uri.to_s #=> "http://foo.com/posts?id=30&limit=5#time=1305298413"
[24] Fix | Delete
#
[25] Fix | Delete
# == Adding custom URIs
[26] Fix | Delete
#
[27] Fix | Delete
# module URI
[28] Fix | Delete
# class RSYNC < Generic
[29] Fix | Delete
# DEFAULT_PORT = 873
[30] Fix | Delete
# end
[31] Fix | Delete
# @@schemes['RSYNC'] = RSYNC
[32] Fix | Delete
# end
[33] Fix | Delete
# #=> URI::RSYNC
[34] Fix | Delete
#
[35] Fix | Delete
# URI.scheme_list
[36] Fix | Delete
# #=> {"FILE"=>URI::File, "FTP"=>URI::FTP, "HTTP"=>URI::HTTP,
[37] Fix | Delete
# # "HTTPS"=>URI::HTTPS, "LDAP"=>URI::LDAP, "LDAPS"=>URI::LDAPS,
[38] Fix | Delete
# # "MAILTO"=>URI::MailTo, "RSYNC"=>URI::RSYNC}
[39] Fix | Delete
#
[40] Fix | Delete
# uri = URI("rsync://rsync.foo.com")
[41] Fix | Delete
# #=> #<URI::RSYNC rsync://rsync.foo.com>
[42] Fix | Delete
#
[43] Fix | Delete
# == RFC References
[44] Fix | Delete
#
[45] Fix | Delete
# A good place to view an RFC spec is http://www.ietf.org/rfc.html.
[46] Fix | Delete
#
[47] Fix | Delete
# Here is a list of all related RFC's:
[48] Fix | Delete
# - RFC822[http://tools.ietf.org/html/rfc822]
[49] Fix | Delete
# - RFC1738[http://tools.ietf.org/html/rfc1738]
[50] Fix | Delete
# - RFC2255[http://tools.ietf.org/html/rfc2255]
[51] Fix | Delete
# - RFC2368[http://tools.ietf.org/html/rfc2368]
[52] Fix | Delete
# - RFC2373[http://tools.ietf.org/html/rfc2373]
[53] Fix | Delete
# - RFC2396[http://tools.ietf.org/html/rfc2396]
[54] Fix | Delete
# - RFC2732[http://tools.ietf.org/html/rfc2732]
[55] Fix | Delete
# - RFC3986[http://tools.ietf.org/html/rfc3986]
[56] Fix | Delete
#
[57] Fix | Delete
# == Class tree
[58] Fix | Delete
#
[59] Fix | Delete
# - URI::Generic (in uri/generic.rb)
[60] Fix | Delete
# - URI::File - (in uri/file.rb)
[61] Fix | Delete
# - URI::FTP - (in uri/ftp.rb)
[62] Fix | Delete
# - URI::HTTP - (in uri/http.rb)
[63] Fix | Delete
# - URI::HTTPS - (in uri/https.rb)
[64] Fix | Delete
# - URI::LDAP - (in uri/ldap.rb)
[65] Fix | Delete
# - URI::LDAPS - (in uri/ldaps.rb)
[66] Fix | Delete
# - URI::MailTo - (in uri/mailto.rb)
[67] Fix | Delete
# - URI::Parser - (in uri/common.rb)
[68] Fix | Delete
# - URI::REGEXP - (in uri/common.rb)
[69] Fix | Delete
# - URI::REGEXP::PATTERN - (in uri/common.rb)
[70] Fix | Delete
# - URI::Util - (in uri/common.rb)
[71] Fix | Delete
# - URI::Escape - (in uri/common.rb)
[72] Fix | Delete
# - URI::Error - (in uri/common.rb)
[73] Fix | Delete
# - URI::InvalidURIError - (in uri/common.rb)
[74] Fix | Delete
# - URI::InvalidComponentError - (in uri/common.rb)
[75] Fix | Delete
# - URI::BadURIError - (in uri/common.rb)
[76] Fix | Delete
#
[77] Fix | Delete
# == Copyright Info
[78] Fix | Delete
#
[79] Fix | Delete
# Author:: Akira Yamada <akira@ruby-lang.org>
[80] Fix | Delete
# Documentation::
[81] Fix | Delete
# Akira Yamada <akira@ruby-lang.org>
[82] Fix | Delete
# Dmitry V. Sabanin <sdmitry@lrn.ru>
[83] Fix | Delete
# Vincent Batts <vbatts@hashbangbash.com>
[84] Fix | Delete
# License::
[85] Fix | Delete
# Copyright (c) 2001 akira yamada <akira@ruby-lang.org>
[86] Fix | Delete
# You can redistribute it and/or modify it under the same term as Ruby.
[87] Fix | Delete
# Revision:: $Id$
[88] Fix | Delete
#
[89] Fix | Delete
[90] Fix | Delete
module URI
[91] Fix | Delete
end
[92] Fix | Delete
[93] Fix | Delete
require 'uri/version'
[94] Fix | Delete
require 'uri/common'
[95] Fix | Delete
require 'uri/generic'
[96] Fix | Delete
require 'uri/file'
[97] Fix | Delete
require 'uri/ftp'
[98] Fix | Delete
require 'uri/http'
[99] Fix | Delete
require 'uri/https'
[100] Fix | Delete
require 'uri/ldap'
[101] Fix | Delete
require 'uri/ldaps'
[102] Fix | Delete
require 'uri/mailto'
[103] Fix | Delete
[104] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function