[gnome-settings-daemon/gnome-3-2] print-notifications: Don't allow "/" in printer name



commit 29ef6e32500a1126a947efbcc782816e8464d57c
Author: Marek Kasik <mkasik redhat com>
Date:   Tue Nov 8 13:12:04 2011 +0100

    print-notifications: Don't allow "/" in printer name
    
    Remove "/" from allowed characters so that models which contain
    this character can be added successfully (#661774).

 plugins/print-notifications/gsd-printer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/print-notifications/gsd-printer.c b/plugins/print-notifications/gsd-printer.c
index 63481e1..8bfff50 100644
--- a/plugins/print-notifications/gsd-printer.c
+++ b/plugins/print-notifications/gsd-printer.c
@@ -50,7 +50,7 @@ static GDBusNodeInfo *pdi_introspection_data = NULL;
 
 #define MECHANISM_BUS "org.opensuse.CupsPkHelper.Mechanism"
 
-#define ALLOWED_CHARACTERS "abcdefghijklmnopqrtsuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_/"
+#define ALLOWED_CHARACTERS "abcdefghijklmnopqrtsuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_"
 
 #define DBUS_TIMEOUT           60000
 #define DBUS_INSTALL_TIMEOUT 3600000



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]