Strip whitespace from the ends of URLs before fetching them
This commit is contained in:
parent
87a9e41cd5
commit
794ffa883e
@ -51,7 +51,7 @@ PodcastUrlLoader::~PodcastUrlLoader() {
|
||||
}
|
||||
|
||||
QUrl PodcastUrlLoader::FixPodcastUrl(const QString& url_text) const {
|
||||
QString url_text_copy(url_text);
|
||||
QString url_text_copy(url_text.trimmed());
|
||||
|
||||
// Check if it matches one of the quick prefixes.
|
||||
for (QuickPrefixList::const_iterator it = quick_prefixes_.constBegin() ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user