Do not issue any bug reports against versions earlier than 3.5.4 they will be closed.
Furthermore, we cannot accept bugs about metadata or art handling in 3.5.4 due to the large number of bugs that have been fixed since then. 3.5.4 in general is becoming less supportable, and it is suggested to try to reproduce the bug in the latest nightly.
Before submitting a bug please read http://ampache.org/wiki/support:bugs failure to do so may delay resolution of your report.
Furthermore, we cannot accept bugs about metadata or art handling in 3.5.4 due to the large number of bugs that have been fixed since then. 3.5.4 in general is becoming less supportable, and it is suggested to try to reproduce the bug in the latest nightly.
Before submitting a bug please read http://ampache.org/wiki/support:bugs failure to do so may delay resolution of your report.
FS#56 - XML-RPC flash streaming fails because of improper session ID variable
Attached to Project:
Ampache
Opened by john doe (BHack) - Friday, 02 April 2010, 12:29 GMT-8
Last edited by Karl Vollmer (vollmerk) - Thursday, 28 April 2011, 06:11 GMT-8
Opened by john doe (BHack) - Friday, 02 April 2010, 12:29 GMT-8
Last edited by Karl Vollmer (vollmerk) - Thursday, 28 April 2011, 06:11 GMT-8
|
DetailsFirst off, this bug only manifests itself when require_session = true.
The problem is that all other forms of streaming pass in the variable SSID in the URL. For whatever reason, a remote stream through RPC tries to send the variable as SID. This spelling differences causes index.php to not properly get the session, causing the "session timed out" error. We hacked a fix into index.php: //$sid = scrub_in($_REQUEST['ssid']); // this is the original line /*Below is a hack to make XML-RPC streaming work with require_session = true on in ampache cfg. this is in the URL for local request */ $sid = scrub_in($_REQUEST['ssid']); if (empty($sid)) { //this is used in remote request $sid = scrub_in($_REQUEST['sid']); } |
This task depends upon
Closed by Karl Vollmer (vollmerk)
Thursday, 28 April 2011, 06:11 GMT-8
Reason for closing: Won't fix
Additional comments about closing: XML-RPC is going away and will be replaced by the semi-Restfull API interaction.
Thursday, 28 April 2011, 06:11 GMT-8
Reason for closing: Won't fix
Additional comments about closing: XML-RPC is going away and will be replaced by the semi-Restfull API interaction.
Comment by john doe (BHack) -
Friday, 02 April 2010, 12:30 GMT-8
sorry, the fix is in /play/index.php