webpositive: Officially handle gopher: URI scheme now

Avoids it asking Google what to do with the URL.
This commit is contained in:
François Revol 2014-07-28 14:40:01 +02:00
parent d9b7113a6d
commit dc8665f745
2 changed files with 3 additions and 1 deletions

View File

@ -141,7 +141,8 @@ static const char* kHandledProtocols[] = {
"https", "https",
"file", "file",
"about", "about",
"data" "data",
"gopher"
}; };

View File

@ -22,6 +22,7 @@ resource file_types message {
"types" = "application/xhtml+xml", "types" = "application/xhtml+xml",
"types" = "application/x-vnd.Be.URL.file", "types" = "application/x-vnd.Be.URL.file",
"types" = "application/x-vnd.Be.URL.ftp", "types" = "application/x-vnd.Be.URL.ftp",
"types" = "application/x-vnd.Be.URL.gopher",
"types" = "application/x-vnd.Be.URL.http", "types" = "application/x-vnd.Be.URL.http",
"types" = "application/x-vnd.Be.URL.https" "types" = "application/x-vnd.Be.URL.https"
}; };