Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Probable fix for the redirect issues affecting download of artwork in…

… mythvideo in 0.23. Refs #8634

git-svn-id: http://svn.mythtv.org/svn/branches/release-0-23-fixes@25327 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information...
commit f742b98688f4a29ace2bafedb854989afc168784 1 parent df12163
@stuartm stuartm authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  mythplugins/mythvideo/mythvideo/videodlg.cpp
View
3  mythplugins/mythvideo/mythvideo/videodlg.cpp
@@ -137,7 +137,8 @@ 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_redirectCount++;
Please sign in to comment.
Something went wrong with that request. Please try again.