Browse Source
			
			
			Merge pull request #32 from toranger/master
			
				cgi already compact, so remove the sprit
			
			
				tags/v0.7.8
			
			
		 
		
			
				
					
						
						toranger
					
					7 years ago
					
						
							committed by
							
								
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
				  
				  No known key found for this signature in database
				  
				  	
						GPG Key ID: 4AEE18F83AFDEB23
				  	
				  
				
			
		
		
		
	
		
			
				 1 changed files with 
1 additions and 
1 deletions
			 
			
		 
		
			
				- 
					
					
					 
					helper.go
				
 
			
		
		
			
				
					
					
						
							
								
									
										
											
	
		
			
				| 
					
					
						
							
						
					
					
				 | 
				@ -52,7 +52,7 @@ func encodeURIComponent(s string) string { | 
			
		
		
	
		
			
				 | 
				 | 
						c := s[i] | 
				 | 
				 | 
						c := s[i] | 
			
		
		
	
		
			
				 | 
				 | 
				
 | 
				 | 
				 | 
				
 | 
			
		
		
	
		
			
				 | 
				 | 
						switch c { | 
				 | 
				 | 
						switch c { | 
			
		
		
	
		
			
				 | 
				 | 
						case '-', '_', '.', '!', '~', '*', '\'', '(', ')', '/': | 
				 | 
				 | 
				 | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
						case '-', '_', '.', '!', '~', '*', '\'', '(', ')': | 
			
		
		
	
		
			
				 | 
				 | 
							continue | 
				 | 
				 | 
							continue | 
			
		
		
	
		
			
				 | 
				 | 
						default: | 
				 | 
				 | 
						default: | 
			
		
		
	
		
			
				 | 
				 | 
							// Unreserved according to RFC 3986 sec 2.3
 | 
				 | 
				 | 
							// Unreserved according to RFC 3986 sec 2.3
 | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |