Skip to content

Commit

Permalink
Fix a stupid typo which prevented url redirection working in mythvide…
Browse files Browse the repository at this point in the history
…o 0.23 and 0.22. Refs #8634

git-svn-id: http://svn.mythtv.org/svn/branches/release-0-22-fixes@25328 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information
stuartm committed Jul 11, 2010
1 parent 60d5fd8 commit 3c6ce60
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mythplugins/mythvideo/mythvideo/videodlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,10 @@ namespace
public slots:
void InspectHeader(const QHttpResponseHeader &header)
{
if (header.statusCode() == 302)
if (header.statusCode() == 302 || header.statusCode() == 301 ||
header.statusCode() == 307)
{
QString m_redirectUrl = header.value("Location");
m_redirectUrl = header.value("Location");
m_redirectCount++;
}
else if (header.statusCode() == 404)
Expand Down

0 comments on commit 3c6ce60

Please sign in to comment.