By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 1009
Collapse All | Expand All

(-)kdepim/libkmime/kmime_util.cpp.addquotes (+8 lines)
Lines 471-476 Link Here
471
void addQuotes(TQCString &str, bool forceQuotes)
472
void addQuotes(TQCString &str, bool forceQuotes)
472
{
473
{
473
  bool needsQuotes=false;
474
  bool needsQuotes=false;
475
  if ( TQString( str ) .contains( TQRegExp( TQString( "\"|\\\\|=|\\]|\\[|:|;|,|\\.|,|@|<|>|\\)|\\(" ) ) ) )
476
    needsQuotes = true;
477
478
  str.replace(TQRegExp("\\"), "\\\\");
479
  str.replace(TQRegExp("\""), "\\\"");
480
481
/*  
474
  for (unsigned int i=0; i < str.length(); i++) {
482
  for (unsigned int i=0; i < str.length(); i++) {
475
    if (strchr("()<>@,.;:[]=\\\"",str[i])!=0)
483
    if (strchr("()<>@,.;:[]=\\\"",str[i])!=0)
476
      needsQuotes = true;
484
      needsQuotes = true;
Lines 479-484 Link Here
479
      i++;
487
      i++;
480
    }
488
    }
481
  }
489
  }
490
*/
482
491
483
  if (needsQuotes || forceQuotes) {
492
  if (needsQuotes || forceQuotes) {
484
    str.insert(0,'\"');
493
    str.insert(0,'\"');

Return to bug 1009