Added support for passwords in userinfo of urls.
This commit is contained in:
		
							parent
							
								
									2870586cf9
								
							
						
					
					
						commit
						32dee82c58
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -396,7 +396,7 @@ re_host (void)
 | 
			
		|||
	   "(" NOPARENS ")"						\
 | 
			
		||||
	")*"	/* Zero or more occurrences of either of these */	\
 | 
			
		||||
	"(?<![.,?!\\]])"	/* Not allowed to end with these */
 | 
			
		||||
#define USERINFO "([-a-z0-9._~%]+@)"
 | 
			
		||||
#define USERINFO "([-a-z0-9._~%]+(:[-a-z0-9._~%]*)?@)"
 | 
			
		||||
 | 
			
		||||
/* Flags used to describe URIs (RFC 3986)
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue