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 1525
Collapse All | Expand All

(-)./kio/kssl/ksslinfodlg.cc.ORI (-6 / +15 lines)
Lines 253-258 Link Here
253
    layout->addWidget(new TQLabel(i18n("%1 bits used of a %2 bit cipher").arg(usedbits).arg(bits), this), 10, 1);
253
    layout->addWidget(new TQLabel(i18n("%1 bits used of a %2 bit cipher").arg(usedbits).arg(bits), this), 10, 1);
254
    d->m_layout->addMultiCell(layout, 2, 2, 0, 2);
254
    d->m_layout->addMultiCell(layout, 2, 2, 0, 2);
255
255
256
    ipl->setTextFormat(TQt::PlainText);
257
    urlLabel->setTextFormat(TQt::PlainText);
258
    d->_serialNum->setTextFormat(TQt::PlainText);
259
    d->_csl->setTextFormat(TQt::PlainText);
260
    d->_validFrom->setTextFormat(TQt::PlainText);
261
    d->_validUntil->setTextFormat(TQt::PlainText);
262
    d->_digest->setTextFormat(TQt::PlainText);
263
256
    displayCert(cert);
264
    displayCert(cert);
257
}
265
}
258
266
Lines 400-431 Link Here
400
    if (!(tmp = cert.getValue("O")).isEmpty()) {
408
    if (!(tmp = cert.getValue("O")).isEmpty()) {
401
        label = new TQLabel(i18n("Organization:"), _frame);
409
        label = new TQLabel(i18n("Organization:"), _frame);
402
        label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
410
        label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
403
        new TQLabel(tmp, _frame);
411
        (new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText);
404
    }
412
    }
405
    if (!(tmp = cert.getValue("OU")).isEmpty()) {
413
    if (!(tmp = cert.getValue("OU")).isEmpty()) {
406
        label = new TQLabel(i18n("Organizational unit:"), _frame);
414
        label = new TQLabel(i18n("Organizational unit:"), _frame);
407
        label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
415
        label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
408
        new TQLabel(tmp, _frame);
416
        (new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText);
409
    }
417
    }
410
    if (!(tmp = cert.getValue("L")).isEmpty()) {
418
    if (!(tmp = cert.getValue("L")).isEmpty()) {
411
        label = new TQLabel(i18n("Locality:"), _frame);
419
        label = new TQLabel(i18n("Locality:"), _frame);
412
        label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
420
        label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
413
        new TQLabel(tmp, _frame);
421
        (new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText);
414
    }
422
    }
415
    if (!(tmp = cert.getValue("ST")).isEmpty()) {
423
    if (!(tmp = cert.getValue("ST")).isEmpty()) {
416
        label = new TQLabel(i18n("Federal State","State:"), _frame);
424
        label = new TQLabel(i18n("Federal State","State:"), _frame);
417
        label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
425
        label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
418
        new TQLabel(tmp, _frame);
426
        (new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText);
419
    }
427
    }
420
    if (!(tmp = cert.getValue("C")).isEmpty()) {
428
    if (!(tmp = cert.getValue("C")).isEmpty()) {
421
        label = new TQLabel(i18n("Country:"), _frame);
429
        label = new TQLabel(i18n("Country:"), _frame);
422
        label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
430
        label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
423
        new TQLabel(tmp, _frame);
431
        (new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText);
424
    }
432
    }
425
    if (!(tmp = cert.getValue("CN")).isEmpty()) {
433
    if (!(tmp = cert.getValue("CN")).isEmpty()) {
426
        label = new TQLabel(i18n("Common name:"), _frame);
434
        label = new TQLabel(i18n("Common name:"), _frame);
427
        label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
435
        label->setAlignment(Qt::AlignLeft | Qt::AlignTop);
428
        new TQLabel(tmp, _frame);
436
        (new TQLabel(tmp, _frame))->setTextFormat(TQt::PlainText);
429
    }
437
    }
430
    if (!(tmp = cert.getValue("Email")).isEmpty()) {
438
    if (!(tmp = cert.getValue("Email")).isEmpty()) {
431
        label = new TQLabel(i18n("Email:"), _frame);
439
        label = new TQLabel(i18n("Email:"), _frame);
Lines 435-440 Link Here
435
            connect(mail, TQT_SIGNAL(leftClickedURL(const TQString &)), mailCatcher, TQT_SLOT(mailClicked(const TQString &)));
443
            connect(mail, TQT_SIGNAL(leftClickedURL(const TQString &)), mailCatcher, TQT_SLOT(mailClicked(const TQString &)));
436
        } else {
444
        } else {
437
            label = new TQLabel(tmp, _frame);
445
            label = new TQLabel(tmp, _frame);
446
            label->setTextFormat(TQt::PlainText);
438
        }
447
        }
439
    }
448
    }
440
    if (label && viewport()) {
449
    if (label && viewport()) {
(-)./kioslave/http/http.cc.ORI (-2 / +23 lines)
Lines 184-189 Link Here
184
  return sanitizedHeaders.stripWhiteSpace();
184
  return sanitizedHeaders.stripWhiteSpace();
185
}
185
}
186
186
187
static TQString htmlEscape(const TQString &plain)
188
{
189
    TQString rich;
190
    rich.reserve(uint(plain.length() * 1.1));
191
    for (uint i = 0; i < plain.length(); ++i) {
192
        if (plain.at(i) == '<') {
193
            rich += "&lt;";
194
        } else if (plain.at(i) == '>') {
195
            rich += "&gt;";
196
        } else if (plain.at(i) == '&') {
197
            rich += "&amp;";
198
        } else if (plain.at(i) == '"') {
199
            rich += "&quot;";
200
        } else {
201
            rich += plain.at(i);
202
        }
203
    }
204
    rich.squeeze();
205
    return rich;
206
}
207
187
208
188
#define NO_SIZE		((KIO::filesize_t) -1)
209
#define NO_SIZE		((KIO::filesize_t) -1)
189
210
Lines 5186-5192 Link Here
5186
      info.verifyPath = false;
5207
      info.verifyPath = false;
5187
      info.digestInfo = m_strAuthorization;
5208
      info.digestInfo = m_strAuthorization;
5188
      info.commentLabel = i18n( "Site:" );
5209
      info.commentLabel = i18n( "Site:" );
5189
      info.comment = i18n("<b>%1</b> at <b>%2</b>").arg( m_strRealm ).arg( m_request.hostname );
5210
      info.comment = i18n("<b>%1</b> at <b>%2</b>").arg( htmlEscape(m_strRealm) ).arg( m_request.hostname );
5190
    }
5211
    }
5191
  }
5212
  }
5192
  else if ( m_responseCode == 407 )
5213
  else if ( m_responseCode == 407 )
Lines 5203-5209 Link Here
5203
      info.verifyPath = false;
5224
      info.verifyPath = false;
5204
      info.digestInfo = m_strProxyAuthorization;
5225
      info.digestInfo = m_strProxyAuthorization;
5205
      info.commentLabel = i18n( "Proxy:" );
5226
      info.commentLabel = i18n( "Proxy:" );
5206
      info.comment = i18n("<b>%1</b> at <b>%2</b>").arg( m_strProxyRealm ).arg( m_proxyURL.host() );
5227
      info.comment = i18n("<b>%1</b> at <b>%2</b>").arg( htmlEscape(m_strProxyRealm) ).arg( m_proxyURL.host() );
5207
    }
5228
    }
5208
  }
5229
  }
5209
}
5230
}

Return to bug 1525