link_shortener: Allow #% characters for shortening URL.
This commit is contained in:
		
							parent
							
								
									bccbda49f2
								
							
						
					
					
						commit
						5ad5e11587
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -35,8 +35,8 @@ class LinkShortenerHandler(object):
 | 
			
		|||
            '('
 | 
			
		||||
            '(?:http|https):\/\/'  # This allows for the HTTP or HTTPS
 | 
			
		||||
                                   # protocol.
 | 
			
		||||
            '[^"<>#%\{\}|\\^~[\]` ]+'  # This allows for any character except
 | 
			
		||||
                                       # for certain non-URL-safe ones.
 | 
			
		||||
            '[^"<>\{\}|\\^~[\]` ]+'  # This allows for any character except
 | 
			
		||||
                                     # for certain non-URL-safe ones.
 | 
			
		||||
            ')'
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue