diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2006-09-30 03:32:19 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-09-30 03:32:19 +0800 |
commit | 7c047b3fec6edd5b208e0c45b6f60f83b5d0e8ab (patch) | |
tree | e11b193e718ed536e728cdcfa70331f82435bcea /embed | |
parent | 2f82409c7697e94ac001e4b0a4266e5357ac4ae7 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | embed/mozilla/EventContext.cpp | 3 |
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 || |