@@ -372,7 +372,7 @@ bool GSQLBackend::updateDNSSECOrderAndAuthAbsolute(uint32_t domain_id, const std
372
372
return false ;
373
373
char output[1024 ];
374
374
375
- snprintf (output, sizeof (output)-1 , d_setOrderAuthQuery.c_str (), sqlEscape (ordername).c_str (), auth, sqlEscape (qname).c_str (), domain_id);
375
+ snprintf (output, sizeof (output)-1 , d_setOrderAuthQuery.c_str (), sqlEscape (ordername).c_str (), auth, sqlEscape (toLower ( qname) ).c_str (), domain_id);
376
376
try {
377
377
d_db->doCommand (output);
378
378
}
@@ -388,7 +388,7 @@ bool GSQLBackend::nullifyDNSSECOrderNameAndUpdateAuth(uint32_t domain_id, const
388
388
return false ;
389
389
char output[1024 ];
390
390
391
- snprintf (output, sizeof (output)-1 , d_nullifyOrderNameAndUpdateAuthQuery.c_str (), auth, domain_id, sqlEscape (qname).c_str ());
391
+ snprintf (output, sizeof (output)-1 , d_nullifyOrderNameAndUpdateAuthQuery.c_str (), auth, domain_id, sqlEscape (toLower ( qname) ).c_str ());
392
392
try {
393
393
d_db->doCommand (output);
394
394
}
@@ -404,7 +404,7 @@ bool GSQLBackend::nullifyDNSSECOrderNameAndAuth(uint32_t domain_id, const std::s
404
404
return false ;
405
405
char output[1024 ];
406
406
407
- snprintf (output, sizeof (output)-1 , d_nullifyOrderNameAndAuthQuery.c_str (), sqlEscape (qname).c_str (), sqlEscape (type).c_str (), domain_id);
407
+ snprintf (output, sizeof (output)-1 , d_nullifyOrderNameAndAuthQuery.c_str (), sqlEscape (toLower ( qname) ).c_str (), sqlEscape (type).c_str (), domain_id);
408
408
try {
409
409
d_db->doCommand (output);
410
410
}
0 commit comments