Remove invalid double-quote (") from the pathchar for url regex matching

This commit is contained in:
Stephen Boddy 2015-12-02 22:31:14 +01:00
commit 5f26ae84ff
2 changed files with 3 additions and 1 deletions

View File

@ -60,6 +60,8 @@ terminator trunk:
LP#1520360)
* Fix PuTTY paste mode so Ctrl-Right-Drag terminal still works
(Steve Boddy)
* Remove invalid double-quote (") from the pathchar for url regex
matching (Steve Boddy, LP#1514578)
terminator 0.98:
* Features

View File

@ -265,7 +265,7 @@ class Terminal(gtk.VBox):
userchars = "-A-Za-z0-9"
passchars = "-A-Za-z0-9,?;.:/!%$^*&~\"#'"
hostchars = "-A-Za-z0-9"
pathchars = "-A-Za-z0-9_$.+!*(),;:@&=?/~#%'\""
pathchars = "-A-Za-z0-9_$.+!*(),;:@&=?/~#%'"
schemes = "(news:|telnet:|nntp:|file:/|https?:|ftps?:|webcal:)"
user = "[" + userchars + "]+(:[" + passchars + "]+)?"
urlpath = "/[" + pathchars + "]*[^]'.}>) \t\r\n,\\\"]"