View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 06091 | Bug reports | Expression Manager | public | 2012-05-14 08:15 | 2012-05-14 22:31 |
| Reporter | Assigned To | c_schmitz | |||
| Priority | normal | Severity | block | ||
| Status | closed | Resolution | unable to reproduce | ||
| Product Version | 1.92+ | ||||
| Summary | 06091: entering "{substr('1234567890',5,3)}" while editing a question causes "ERR_CONNECTION_RESET" | ||||
| Description | While editing/creating a survey, if "{substr('1234567890',5,3)}" is entered into the "question" field of a new/existing question and the question is saved (the form submitted), a browser error will appear and form data will not be saved. | ||||
| Steps To Reproduce | 1.Create a new survey | ||||
| Additional Information | I suspect that this has to do with data sanitation, since even typing "substr()" within the question field will produce the error - note the missing {} brackets! | ||||
| Tags | No tags attached. | ||||
| Bug heat | 8 | ||||
| Complete LimeSurvey version number (& build) | 120509 | ||||
| I will donate to the project if issue is resolved | Yes | ||||
| Browser | Chrome 18, IE 9 | ||||
| Database type & version | MySQL 5.0.92 | ||||
| Server OS (if known) | Linux | ||||
| Webserver software & version (if known) | Apache | ||||
| PHP Version | 5.2.16 | ||||
| Git branch / Pull Request URL | |||||
|
This indeed seems like a sanitation issue, adding the following line to the EM array (ExpressionManager.php, line 211) causes "{bork('1234567890',5,3)}" to evaluate as expected. |
|
|
amusingly enough, I cannot paste the correct line here without causing a connection reset on submit :) |
|
|
Can't reproduce with Build 120509 and FF12. I try: Denis |
|
|
Disabling XSS protection has no effect. |
|
|
I can't reproduce this either. Could it be filtering done by your service provider? |
|
|
boazarad, this is most likely a false positive of mod_security (a server security module blocking suspicious content) or a similar software. Please contact your server adminstration, instead. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-05-14 08:15 |
|
New Issue | |
| 2012-05-14 08:43 |
|
Note Added: 18731 | |
| 2012-05-14 08:45 |
|
Note Added: 18732 | |
| 2012-05-14 15:10 | DenisChenu | Note Added: 18734 | |
| 2012-05-14 15:21 |
|
Note Added: 18735 | |
| 2012-05-14 16:41 | TMSWhite | Note Added: 18738 | |
| 2012-05-14 22:31 | c_schmitz | Note Added: 18751 | |
| 2012-05-14 22:31 | c_schmitz | Status | new => closed |
| 2012-05-14 22:31 | c_schmitz | Assigned To | => c_schmitz |
| 2012-05-14 22:31 | c_schmitz | Resolution | open => unable to reproduce |