Messagelib
urlhashing.cpp
29 // First, remove tab (0x09), CR (0x0d), and LF (0x0a) characters from the URL. Do not remove escape sequences for these characters (e.g. '%0a').
34 // In the URL, percent-escape all characters that are <= ASCII 32, >= 127, "#", or "%". The escapes should use uppercase hex characters.
57 QByteArray urlEncoded = url.toEncoded(QUrl::RemoveFragment | QUrl::NormalizePathSegments | QUrl::EncodeUnicode | QUrl::RemoveUserInfo | QUrl::RemovePort
126 const QStringList paths = WebEngineViewer::UrlHashing::generatePathsToCheck(url.path(), url.query());
QByteArray toEncoded(QUrl::FormattingOptions options) const const
int count(const T &value) const const
QString query(QUrl::ComponentFormattingOptions options) const const
QByteArray toLatin1() const const
QHash::iterator insert(const Key &key, const T &value)
KSERVICE_EXPORT KService::List query(FilterFunc filterFunc)
NETWORKMANAGERQT_EXPORT QString hostname()
bool isEmpty() const const
RemoveFragment
EncodeUnicode
bool isEmpty() const const
int length() const const
const T & at(int i) const const
bool isEmpty() const const
QByteArray & replace(int pos, int len, const char *after)
QString & remove(int position, int n)
ScriptableExtension * host() const
QByteArray hash(const QByteArray &data, QCryptographicHash::Algorithm method)
QString host(QUrl::ComponentFormattingOptions options) const const
QString path(QUrl::ComponentFormattingOptions options) const const
QString path(const QString &relativePath)
QString left(int n) const const
QString right(int n) const const
QString fromLatin1(const char *str, int size)
void setPath(const QString &path, QUrl::ParsingMode mode)
const QChar at(int position) const const
void truncate(int pos)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Mar 22 2023 04:07:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Mar 22 2023 04:07:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.