View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 08260 | Bug reports | Theme editor | public | 2013-10-11 08:30 | 2013-11-25 15:39 |
| Reporter | DenisChenu | Assigned To | DenisChenu | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.05 RC | ||||
| Target Version | 2.05+ | Fixed in Version | 2.05+ | ||
| Summary | 08260: Can not use own script on question text | ||||
| Description | If XSS if disable or be super-admin: some user can use own script in question text. For exemple: Where myOwnFunction is in template.js. It's OK on 2.00 but broken in 2.05. | ||||
| Steps To Reproduce | Put own function in template.js And try to use on question text. | ||||
| Additional Information | The problem is i set POS_END for template.js, POS_BEGIN seems OK too because then : all other script are in HEAD and template.js at begin of BODY. But this break citronade template. Did we choose to have a risk to broke user template ? See topic on Yii forum : | ||||
| Tags | No tags attached. | ||||
| Bug heat | 2 | ||||
| Complete LimeSurvey version number (& build) | 131011 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | not relevant | ||||
| Database type & version | not relevant | ||||
| Server OS (if known) | not relevant | ||||
| Webserver software & version (if known) | not relevant | ||||
| PHP Version | not relevant | ||||
| parent of | 08346 | closed | DenisChenu | Javascript error in SkeletonQuest Template |
|
LimeSurvey: 2.05 5901b9ea 2013-10-22 18:51 Details Diff |
Dev: New feature 08247: allow deactivate Javascript autocorrection of numerical values Dev: Added LSvar object in template, maybe elsewhere is better, but already have needed script Dev: add setJsVar for LEMradix, numRegex and intRegex Dev: Start issue 08260: Can not use own script on question text : find another way ? |
Affected Issues 08260 |
|
| mod - application/config/config-defaults.php | Diff File | ||
| mod - application/helpers/SurveyRuntimeHelper.php | Diff File | ||
| mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
| mod - application/helpers/replacements_helper.php | Diff File | ||
| mod - scripts/survey_runtime.js | Diff File | ||
| mod - templates/citronade/startpage.pstpl | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-10-11 08:30 | DenisChenu | New Issue | |
| 2013-10-22 18:52 | DenisChenu | Changeset attached | => LimeSurvey 2.05 5901b9ea |
| 2013-10-22 18:52 | DenisChenu | Assigned To | => DenisChenu |
| 2013-10-22 18:52 | DenisChenu | Status | new => assigned |
| 2013-11-05 16:40 | DenisChenu | Status | assigned => resolved |
| 2013-11-05 16:40 | DenisChenu | Fixed in Version | => 2.05 RC |
| 2013-11-05 16:40 | DenisChenu | Resolution | open => fixed |
| 2013-11-07 12:31 | DenisChenu | Relationship added | parent of 08346 |
| 2013-11-22 11:27 | c_schmitz | Fixed in Version | 2.05 RC => 2.05+ |
| 2013-11-22 11:28 | c_schmitz | Target Version | => 2.05+ |
| 2013-11-25 15:39 | c_schmitz | Note Added: 27386 | |
| 2013-11-25 15:39 | c_schmitz | Status | resolved => closed |
| 2015-12-11 14:40 | c_schmitz | Category | Templates => Theme editor |