View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
11714 | Bug reports | Response browsing | public | 2016-09-27 15:50 | 2017-02-16 13:54 |
Reporter | Borys | Assigned To | c_schmitz | ||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | won't fix | ||
Product Version | 2.52.x | ||||
Summary | 11714: Error 400 when trying to change response page | ||||
Description | I'm unable to switch pages on the responses list, I'm getting an "error 400" popup. Responses list URL has the following form: But the pagination uses the following form (which results in error): | ||||
Additional Information | Stack Trace 163 $this->redirect(array('/admin/authentication/sa/login')); #4 | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 2.52+160920 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MySQL 5.5 | ||||
Server OS (if known) | Debian Linux 8 | ||||
Webserver software & version (if known) | lighttpd 1.4.31 | ||||
PHP Version | 5.5.33 | ||||
Could not reproduce in Release 2.52 Build 160920 (46c82735ee099de7244c90b68731ab2f3f4638ec) Could you provide a sample survey and responses that are causing the error? |
|
Can I give you access to our installation? This should be the easiest way to test this issue. |
|
Please send access data to carsten.schmitz@limesurvey.org |
|
You should receive the credentials shortly. You have the full admin rights and there's only one survey now. To reproduce: go to "Ankiety" -> the first and only one -> "Odpowiedzi" -> "Odpowiedzi i statystyki" -> "Odpowiedzi" -> "Polski". And there's the faulty pagination. |
|
Closed due to missing feedback. |
|
Didn't you receive an e-mail with credentials? I sent it shortly after my comment. |
|
I am sorry but I did not receive anything. |
|
Ok, I sent it again from different address |
|
It looks like a server configuration issue. It works like that on Apache and nginx so I guess it is related to lighttpd configuration. |
|
I did some research and looks like lighty returns error 400 on malformed requests (invalid characters, etc.). And I may see the problem: you are passing GET variables in a POST request here. Apache will happily accept that, although not in all versions (I was doing the same in my apps, until I found the hard way that it's not working everywhere). It's a little surprising that nginx accepts it. Can this pagination work with GET requests only? |
|
After some internal discussion and research we think that lighttpd is general a problem child in this regard. In /application/config/config.php replace
by this:
Please give feedback if that resolved your issue. |
|
Yes, that seems to help, thank you. Mixing GET and POST requests looks like an undefined behavior in both RFC and W3C documents. Probably lighty is just more strict than others when it comes to such edge cases. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-09-27 15:50 | Borys | New Issue | |
2016-09-27 21:56 | mfavetti | Note Added: 40987 | |
2016-09-28 12:15 | Borys | Note Added: 41001 | |
2016-09-28 16:24 | c_schmitz | Assigned To | => c_schmitz |
2016-09-28 16:24 | c_schmitz | Status | new => feedback |
2016-09-28 16:24 | c_schmitz | Note Added: 41010 | |
2016-09-28 23:54 | Borys | Note Added: 41019 | |
2016-09-28 23:54 | Borys | Status | feedback => assigned |
2017-02-03 14:45 | c_schmitz | Status | assigned => closed |
2017-02-03 14:45 | c_schmitz | Resolution | open => unable to reproduce |
2017-02-03 14:45 | c_schmitz | Note Added: 42957 | |
2017-02-06 16:58 | Borys | Note Added: 42964 | |
2017-02-07 00:02 | c_schmitz | Note Added: 42966 | |
2017-02-07 11:32 | Borys | Note Added: 42967 | |
2017-02-08 10:24 | c_schmitz | Status | closed => assigned |
2017-02-12 13:37 | c_schmitz | Note Added: 43003 | |
2017-02-13 01:13 | Borys | Note Added: 43004 | |
2017-02-15 17:00 | c_schmitz | Note Added: 43019 | |
2017-02-15 17:01 | c_schmitz | Status | assigned => feedback |
2017-02-16 11:50 | Borys | Note Added: 43025 | |
2017-02-16 11:50 | Borys | Status | feedback => assigned |
2017-02-16 13:54 | c_schmitz | Status | assigned => closed |
2017-02-16 13:54 | c_schmitz | Resolution | unable to reproduce => won't fix |