diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-07-25 17:33:03 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-07-25 17:33:03 +0800 |
commit | c5c6546ff0c9b843e49b0cf50f7b690d09363142 (patch) | |
tree | 2a355217f8951932ba18c271af513c519ad32dcf /embed | |
parent | bf9c73d3a594df3decf46cf8767e54b2f42d7b38 (diff) | |
download | gsoc2013-epiphany-c5c6546ff0c9b843e49b0cf50f7b690d09363142.tar gsoc2013-epiphany-c5c6546ff0c9b843e49b0cf50f7b690d09363142.tar.gz gsoc2013-epiphany-c5c6546ff0c9b843e49b0cf50f7b690d09363142.tar.bz2 gsoc2013-epiphany-c5c6546ff0c9b843e49b0cf50f7b690d09363142.tar.lz gsoc2013-epiphany-c5c6546ff0c9b843e49b0cf50f7b690d09363142.tar.xz gsoc2013-epiphany-c5c6546ff0c9b843e49b0cf50f7b690d09363142.tar.zst gsoc2013-epiphany-c5c6546ff0c9b843e49b0cf50f7b690d09363142.zip |
Disallow some more characters in the suggested filename.
2004-07-25 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphyHeaderSniffer.cpp:
Disallow some more characters in the suggested filename.
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/EphyHeaderSniffer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/mozilla/EphyHeaderSniffer.cpp b/embed/mozilla/EphyHeaderSniffer.cpp index 91ce298c0..470746d1a 100644 --- a/embed/mozilla/EphyHeaderSniffer.cpp +++ b/embed/mozilla/EphyHeaderSniffer.cpp @@ -327,7 +327,7 @@ nsresult EphyHeaderSniffer::PerformSave (nsIURI* inOriginalURI) NS_UTF16ToCString (defaultFileName, NS_CSTRING_ENCODING_UTF8, cDefaultFileName); char *default_name = g_strdup (cDefaultFileName.get()); - default_name = g_strdelimit (default_name, "/", ' '); + default_name = g_strdelimit (default_name, "/\\:", ' '); const char *key; key = ephy_embed_persist_get_persist_key (EPHY_EMBED_PERSIST (mEmbedPersist)); |