Always use followRedir() to determine if redirections should be followed.
Before every HEAD and GET request allowed redirection by default, without setting a limit on the number of redirections. This caused an infinite redirect loop when connecting to marketplace, in combination with the bug that we did not allow cookies.
This commit is contained in:
@@ -408,7 +408,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
virtual bool followRedir()
|
||||
/*virtual*/ bool followRedir() const
|
||||
{
|
||||
return mFollowRedir;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user