aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EventContext.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-09-30 03:32:19 +0800
committerChristian Persch <chpe@src.gnome.org>2006-09-30 03:32:19 +0800
commit7c047b3fec6edd5b208e0c45b6f60f83b5d0e8ab (patch)
treee11b193e718ed536e728cdcfa70331f82435bcea /embed/mozilla/EventContext.cpp
parent2f82409c7697e94ac001e4b0a4266e5357ac4ae7 (diff)
downloadgsoc2013-epiphany-7c047b3fec6edd5b208e0c45b6f60f83b5d0e8ab.tar
gsoc2013-epiphany-7c047b3fec6edd5b208e0c45b6f60f83b5d0e8ab.tar.gz
gsoc2013-epiphany-7c047b3fec6edd5b208e0c45b6f60f83b5d0e8ab.tar.bz2
gsoc2013-epiphany-7c047b3fec6edd5b208e0c45b6f60f83b5d0e8ab.tar.lz
gsoc2013-epiphany-7c047b3fec6edd5b208e0c45b6f60f83b5d0e8ab.tar.xz
gsoc2013-epiphany-7c047b3fec6edd5b208e0c45b6f60f83b5d0e8ab.tar.zst
gsoc2013-epiphany-7c047b3fec6edd5b208e0c45b6f60f83b5d0e8ab.zip
Add smb: to recognised web schemes. Bug #352733.
2006-09-29 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EventContext.cpp: Add smb: to recognised web schemes. Bug #352733.
Diffstat (limited to 'embed/mozilla/EventContext.cpp')
-rw-r--r--embed/mozilla/EventContext.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/embed/mozilla/EventContext.cpp b/embed/mozilla/EventContext.cpp
index b28d4f1b4..f1cac9552 100644
--- a/embed/mozilla/EventContext.cpp
+++ b/embed/mozilla/EventContext.cpp
@@ -935,6 +935,9 @@ nsresult EventContext::CheckLinkScheme (const nsAString &link)
g_ascii_strcasecmp (scheme.get(), "https") == 0 ||
g_ascii_strcasecmp (scheme.get(), "ftp") == 0 ||
g_ascii_strcasecmp (scheme.get(), "file") == 0 ||
+ g_ascii_strcasecmp (scheme.get(), "smb") == 0 ||
+ g_ascii_strcasecmp (scheme.get(), "sftp") == 0 ||
+ g_ascii_strcasecmp (scheme.get(), "ssh") == 0 ||
g_ascii_strcasecmp (scheme.get(), "data") == 0 ||
g_ascii_strcasecmp (scheme.get(), "resource") == 0 ||
g_ascii_strcasecmp (scheme.get(), "about") == 0 ||