mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
Support relative HTTP redirects
This commit is contained in:
parent
827e816aab
commit
55077edd6d
@ -90,7 +90,14 @@ NetworkReply::metaDataChanged()
|
||||
else
|
||||
{
|
||||
disconnectReplySignals();
|
||||
load( redir.toUrl() );
|
||||
if( redir.toUrl().isRelative() )
|
||||
{
|
||||
load( m_url.resolved( redir.toUrl() ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
load( redir.toUrl() );
|
||||
}
|
||||
emit redirected();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user