Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

vuplus: fix url-encoding when adding timers

  • Loading branch information...
commit 84f25c4eb98a99800acaf79ba602c8a350bc3841 1 parent 252fbbe
jdembski authored
2  addons/pvr.vuplus/addon/addon.xml.in
... ... @@ -1,7 +1,7 @@
1 1 <?xml version="1.0" encoding="UTF-8"?>
2 2 <addon
3 3 id="pvr.vuplus"
4   - version="1.6.3.4"
  4 + version="1.6.3.5"
5 5 name="VU+ / Enigma2 Client"
6 6 provider-name="Joerg Dembski">
7 7 <requires>
3  addons/pvr.vuplus/addon/changelog.txt
... ... @@ -1,3 +1,6 @@
  1 +0.3.5:
  2 +- fix: URL encoding in timer-add operations
  3 +
1 4 0.3.4:
2 5 - fix: several crashes on win32 due to missing locks / invalid memory access
3 6 - fix: do not report connection problems when there is an empty TV-channel bouquet
4 addons/pvr.vuplus/src/VuData.cpp
@@ -1407,9 +1407,9 @@ PVR_ERROR Vu::AddTimer(const PVR_TIMER &timer)
1407 1407 CStdString strServiceReference = m_channels.at(timer.iClientChannelUid-1).strServiceReference.c_str();
1408 1408
1409 1409 if (!g_strRecordingPath.compare(""))
1410   - strTmp.Format("web/timeradd?sRef=%s&repeated=%d&begin=%d&end=%d&name=%s&description=%s&eit=%d&dirname=&s", strServiceReference, timer.iWeekdays, timer.startTime, timer.endTime, URLEncodeInline(timer.strTitle), URLEncodeInline(timer.strSummary),timer.iEpgUid, URLEncodeInline(g_strRecordingPath));
  1410 + strTmp.Format("web/timeradd?sRef=%s&repeated=%d&begin=%d&end=%d&name=%s&description=%s&eit=%d&dirname=&s", URLEncodeInline(strServiceReference), timer.iWeekdays, timer.startTime, timer.endTime, URLEncodeInline(timer.strTitle), URLEncodeInline(timer.strSummary),timer.iEpgUid, URLEncodeInline(g_strRecordingPath));
1411 1411 else
1412   - strTmp.Format("web/timeradd?sRef=%s&repeated=%d&begin=%d&end=%d&name=%s&description=%s&eit=%d", strServiceReference, timer.iWeekdays, timer.startTime, timer.endTime, URLEncodeInline(timer.strTitle), URLEncodeInline(timer.strSummary),timer.iEpgUid);
  1412 + strTmp.Format("web/timeradd?sRef=%s&repeated=%d&begin=%d&end=%d&name=%s&description=%s&eit=%d", URLEncodeInline(strServiceReference), timer.iWeekdays, timer.startTime, timer.endTime, URLEncodeInline(timer.strTitle), URLEncodeInline(timer.strSummary),timer.iEpgUid);
1413 1413
1414 1414 CStdString strResult;
1415 1415 if(!SendSimpleCommand(strTmp, strResult))

0 comments on commit 84f25c4

Please sign in to comment.
Something went wrong with that request. Please try again.