View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 05576 | Bug reports | Translation | public | 2011-11-12 18:37 | 2012-01-24 21:20 |
| Reporter | gefaber | Assigned To | c_schmitz | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 1.91+ | ||||
| Fixed in Version | 1.91+ | ||||
| Summary | 05576: Quick-translation adds backslashes before quotes and double-quotes | ||||
| Description | Similar thing is reported here already and marked as fixed: http://bugs.limesurvey.org/view.php?id=5411 But it still doesn't work in Version 1.91+ Build 11232. If you save <script type="text/javascript" charset="utf-8" src="scripts/italianoVQ.js" language="JavaScript"></script> in any field, it says this after saving (note the added backslashes): <script type=\"text/javascript\" charset=\"utf-8\" src=\"scripts/italianoVQ.js\" language=\"JavaScript\"></script> The same happens with single quotes and backslashes themselves. When you save it in a single group or question description (not using quick-translation) it works, though. | ||||
| Steps To Reproduce | Try saving anything with quotes or double-quotes in Quick-Translation. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 11232 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Chrome | ||||
| Database type & version | MySQL 5.0.51a | ||||
| Server OS (if known) | Linux 2.6.26-2-amd64 | ||||
| Webserver software & version (if known) | Apache/2.2.9 (Debian) mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g | ||||
| PHP Version | 5.2.6-1+lenny13 | ||||
| Git branch / Pull Request URL | |||||
|
I guess it is because you have magic quotes activated on the PHP server config. Can you check, please? |
|
|
Fixed at revision: 11372 |
|
|
deactivating "magic_quotes_gpc" worked. my workaround before was a regexp-replace via phpmyadmin. i guess, there is a new version of this translation-tool for 2.0 if this one is obsolete. dankeschön anyway! ;) |
|
|
New 1.91+ version released. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-11-12 18:37 | gefaber | New Issue | |
| 2011-11-14 18:27 | c_schmitz | Assigned To | => c_schmitz |
| 2011-11-14 18:27 | c_schmitz | Status | new => assigned |
| 2011-11-15 15:39 | c_schmitz | Note Added: 16677 | |
| 2011-11-15 15:39 | c_schmitz | Status | assigned => feedback |
| 2011-11-15 15:53 | c_schmitz | Note Added: 16678 | |
| 2011-11-15 15:53 | c_schmitz | Status | feedback => resolved |
| 2011-11-15 15:53 | c_schmitz | Fixed in Version | => 1.91+ |
| 2011-11-15 15:53 | c_schmitz | Resolution | open => fixed |
| 2011-11-15 16:04 | gefaber | Note Added: 16681 | |
| 2012-01-24 21:20 | c_schmitz | Note Added: 16959 | |
| 2012-01-24 21:20 | c_schmitz | Status | resolved => closed |