Remove query string that may include auth info.
This commit is contained in:
parent
5983ecfac0
commit
9116dfde7d
|
@ -132,8 +132,10 @@ void Player::HandleLoadResult(const UrlHandler::LoadResult& result) {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case UrlHandler::LoadResult::TrackAvailable: {
|
case UrlHandler::LoadResult::TrackAvailable: {
|
||||||
|
// The media URL may contain an auth token.
|
||||||
qLog(Debug) << "URL handler for" << result.original_url_ << "returned"
|
qLog(Debug) << "URL handler for" << result.original_url_ << "returned"
|
||||||
<< result.media_url_;
|
<< result.media_url_.toString(QUrl::RemoveQuery)
|
||||||
|
<< "(query removed)";
|
||||||
|
|
||||||
// If there was no length info in song's metadata, use the one provided by
|
// If there was no length info in song's metadata, use the one provided by
|
||||||
// URL handler, if there is one
|
// URL handler, if there is one
|
||||||
|
|
Loading…
Reference in New Issue