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