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

This commit is contained in:
Stephen Boddy 2015-12-02 22:48:54 +01:00
parent 62ebf0cf30
commit 3e44db0b95

View File

@ -262,7 +262,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,\\\"]"