QUrl: remove temporary code
The setting of EncodeDelimiters was temporary until we could remove the old qt_urlRecode "decode all" mode (not the FullyDecoded mode, that stays). Change-Id: Ic07ebe4bb7fc72351b65bfb4619b71206cc8c0cd Reviewed-by: David Faure (KDE) <faure@kde.org>bb10
parent
d5f05557ba
commit
6aa15690ff
|
|
@ -774,8 +774,6 @@ recodeFromUser(const QString &input, const ushort *actions, int from, int to)
|
|||
static inline void appendToUser(QString &appendTo, const QString &value, QUrl::FormattingOptions options,
|
||||
const ushort *actions)
|
||||
{
|
||||
options |= QUrl::EncodeDelimiters;
|
||||
|
||||
if (options == QUrl::PrettyDecoded) {
|
||||
appendTo += value;
|
||||
return;
|
||||
|
|
@ -833,7 +831,6 @@ inline void QUrlPrivate::appendUserInfo(QString &appendTo, QUrl::FormattingOptio
|
|||
}
|
||||
}
|
||||
|
||||
options |= QUrl::EncodeDelimiters;
|
||||
if (!qt_urlRecode(appendTo, userName.constData(), userName.constEnd(), options, userNameActions))
|
||||
appendTo += userName;
|
||||
if (options & QUrl::RemovePassword || !hasPassword()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue