mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	* lib/uri/generic.rb (URI::Generic::check_opaque): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									54524ed8f0
								
							
						
					
					
						commit
						6bcf78e40d
					
				
					 2 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,7 @@
 | 
			
		|||
Mon Dec 22 23:00:05 2003  akira yamada  <akira@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* lib/uri/generic.rb (URI::Generic::check_opaque): fixed typo.
 | 
			
		||||
 | 
			
		||||
Mon Dec 22 21:59:24 2003  Nobuyoshi Nakada  <nobu@ruby-lang.org>
 | 
			
		||||
 | 
			
		||||
	* ext/iconv/iconv.c (map_charset): always ensure code is a String.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -617,7 +617,7 @@ Object
 | 
			
		|||
      # raise if both hier and opaque are not nil, because:
 | 
			
		||||
      # absoluteURI   = scheme ":" ( hier_part | opaque_part )
 | 
			
		||||
      # hier_part     = ( net_path | abs_path ) [ "?" query ]
 | 
			
		||||
      if @host || @port || @usr || @path  # userinfo = @user + ':' + @password
 | 
			
		||||
      if @host || @port || @user || @path  # userinfo = @user + ':' + @password
 | 
			
		||||
	raise InvalidURIError, 
 | 
			
		||||
	  "can not set opaque with host, port, userinfo or path"
 | 
			
		||||
      elsif v && OPAQUE !~ v
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue