From d66b59cdfc8cc0291d70de23ecebb56ee7b40c3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Fri, 26 Nov 2010 00:43:46 +0000 Subject: [PATCH] wget should handle https as well just file. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39639 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/urlwrapper.cpp | 2 +- src/bin/urlwrapper.rdef | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/urlwrapper.cpp b/src/bin/urlwrapper.cpp index 31834f5c07..d499313b36 100644 --- a/src/bin/urlwrapper.cpp +++ b/src/bin/urlwrapper.cpp @@ -329,7 +329,7 @@ UrlWrapper::ArgvReceived(int32 argc, char** argv) return; } - if (proto == "http" /*|| proto == "ftp"*/) { + if (proto == "http" || proto == "https" /*|| proto == "ftp"*/) { BString cmd("/bin/wget "); //cmd << url; diff --git a/src/bin/urlwrapper.rdef b/src/bin/urlwrapper.rdef index f432fa88d0..606d95fb76 100644 --- a/src/bin/urlwrapper.rdef +++ b/src/bin/urlwrapper.rdef @@ -9,6 +9,7 @@ resource(1, "BEOS:FILE_TYPES") message "types" = "text/x-webloc", "types" = "application/x-vnd.Be.URL.file", "types" = "application/x-vnd.Be.URL.http", + "types" = "application/x-vnd.Be.URL.https", "types" = "application/x-vnd.Be.URL.query", "types" = "application/x-vnd.Be.URL.sh", "types" = "application/x-vnd.Be.URL.beshare",