aboutsummaryrefslogtreecommitdiffstats
path: root/community/openvas-manager/003-sqlite-insert.patch
blob: da51fa496ac5e8fd8d393e12f7eadc7e22d382b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
diff --git a/src/manage_sql.c b/src/manage_sql.c
index e316374..4aedd83 100644
--- a/src/manage_sql.c
+++ b/src/manage_sql.c
@@ -11016,7 +11016,7 @@ check_db_settings ()
          " ('a6ac88c5-729c-41ba-ac0a-deea4a3441f2', NULL,"
          "  'Details Export File Name',"
          "  'File name format string for the export of resource details.',"
-         "  '%T-%U');");
+         "  '%%T-%%U');");
 
   if (sql_int ("SELECT count(*) FROM settings"
                " WHERE uuid = '0872a6ed-4f85-48c5-ac3f-a5ef5e006745'"
@@ -11027,7 +11027,7 @@ check_db_settings ()
          " ('0872a6ed-4f85-48c5-ac3f-a5ef5e006745', NULL,"
          "  'List Export File Name',"
          "  'File name format string for the export of resource lists.',"
-         "  '%T-%D');");
+         "  '%%T-%%D');");
 
   if (sql_int ("SELECT count(*) FROM settings"
                " WHERE uuid = 'e1a2ae0b-736e-4484-b029-330c9e15b900'"
@@ -11038,7 +11038,7 @@ check_db_settings ()
          " ('e1a2ae0b-736e-4484-b029-330c9e15b900', NULL,"
          "  'Report Export File Name',"
          "  'File name format string for the export of reports.',"
-         "  '%T-%U');");
+         "  '%%T-%%U');");
 
 }