[gnome-settings-daemon] print-notifications: Don't allow "/" in printer name
- From: Marek KaÅÃk <mkasik src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] print-notifications: Don't allow "/" in printer name
- Date: Tue, 8 Nov 2011 12:11:06 +0000 (UTC)
commit 5fe2c2ed34ccbc5cff11f3392e5241bb54456890
Author: Marek Kasik <mkasik redhat com>
Date: Tue Nov 8 13:10:47 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]