[gnome-terminal] Recognise sftp: URLs



commit 6a6c1f044cf438970fbe23f5b2d927926a6900af
Author: Christian Persch <chpe gnome org>
Date:   Sun Mar 7 20:29:25 2010 +0100

    Recognise sftp: URLs
    
    Bug #611286.

 src/terminal-screen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-screen.c b/src/terminal-screen.c
index c081443..61dd5b0 100644
--- a/src/terminal-screen.c
+++ b/src/terminal-screen.c
@@ -150,7 +150,7 @@ static guint signals[LAST_SIGNAL];
 #define PORT "(?:\\:[[:digit:]]{1,5})?"
 #define PATHCHARS_CLASS "[-[:alnum:]\\Q_$.+!*,;@&=?/~#%\\E]"
 #define PATHTERM_CLASS "[^\\Q]'.}>) \t\r\n,\"\\E]"
-#define SCHEME "(?:news:|telnet:|nntp:|file:\\/|https?:|ftps?:|webcal:)"
+#define SCHEME "(?:news:|telnet:|nntp:|file:\\/|https?:|ftps?:|sftp:|webcal:)"
 #define USERPASS USERCHARS_CLASS "+(?:" PASSCHARS_CLASS "+)?"
 #define URLPATH   "(?:(/"PATHCHARS_CLASS"+(?:[(]"PATHCHARS_CLASS"*[)])*"PATHCHARS_CLASS"*)*"PATHTERM_CLASS")?"
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]