epiphany r8247 - branches/gnome-2-22/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: epiphany r8247 - branches/gnome-2-22/src
- Date: Fri, 23 May 2008 21:45:02 +0000 (UTC)
Author: chpe
Date: Fri May 23 21:45:02 2008
New Revision: 8247
URL: http://svn.gnome.org/viewvc/epiphany?rev=8247&view=rev
Log:
Bail out if the --profile directory isn't an absolute path. Bug #518215.
Modified:
branches/gnome-2-22/src/ephy-main.c
Modified: branches/gnome-2-22/src/ephy-main.c
==============================================================================
--- branches/gnome-2-22/src/ephy-main.c (original)
+++ branches/gnome-2-22/src/ephy-main.c Fri May 23 21:45:02 2008
@@ -555,6 +555,11 @@
g_print ("--profile can only be used in combination with --private-instance\n");
exit (1);
}
+ if (profile_directory != NULL && !g_path_is_absolute (profile_directory))
+ {
+ g_printerr ("The profile directory must be specified with an absolute path.\n");
+ exit (1);
+ }
if (arguments != NULL &&
eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_ARBITRARY_URL))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]