View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
04065Bug reportsSurvey editingpublic2010-01-25 19:58
ReporterResearchOnBlogs Assigned Touser372 
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version1.87RC5 
Summary04065: it seems that js-code is destroyed during saving a question
Description

Hi, it seems that js code is destroyed during saving... means:
I put this in a question field:

<script type="text/javascript" charset="utf-8" language="JavaScript">>
alert("Test!");
</script>
it works, but if I open the the question again, the script looks like that:

<sc><x>ript type="text/javascript" charset="utf-8" language="JavaScript">> alert("Test!"); </x></sc>

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)8243
I will donate to the project if issue is resolved
Browser
Database type & versionmsql
Server OS (if known)linux
Webserver software & version (if known)linux
PHP Version5
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

user372

2010-01-24 13:40

  ~10863

It looks like the string "script" is blacklisted at \limesurvey\classes\inputfilter\class.inputfilter_clean.php

@ c_schmitz: Am I right?

c_schmitz

c_schmitz

2010-01-24 16:33

administrator   ~10864

Yep, you are right.

user372

2010-01-25 08:07

  ~10874

@ roB2009: How is your setting for "XSS filter for HTML" ==> did you turn it off?

ResearchOnBlogs

ResearchOnBlogs

2010-01-25 15:00

reporter   ~10889

@ElMatador: I'm sure that I'm done it.. but as I took a look on it today, it was turned ON!!?? Seems it shows me "Settings saved" without saving..
I created a new survey and now it seems to work .... sorry and thanks.

Cheers

close it.

Issue History

Date Modified Username Field Change
2010-01-23 18:23 ResearchOnBlogs New Issue
2010-01-23 18:23 ResearchOnBlogs Status new => assigned
2010-01-23 18:23 ResearchOnBlogs Assigned To => user372
2010-01-23 18:23 ResearchOnBlogs LimeSurvey build number => 8243
2010-01-23 18:23 ResearchOnBlogs Database & DB-Version => msql
2010-01-23 18:23 ResearchOnBlogs Operating System (Server) => linux
2010-01-23 18:23 ResearchOnBlogs Webserver => linux
2010-01-23 18:23 ResearchOnBlogs PHP Version => 5
2010-01-24 13:40 user372 Note Added: 10863
2010-01-24 13:40 user372 Assigned To user372 => c_schmitz
2010-01-24 16:33 c_schmitz Note Added: 10864
2010-01-24 16:33 c_schmitz Assigned To c_schmitz => user372
2010-01-25 08:07 user372 Note Added: 10874
2010-01-25 08:07 user372 Status assigned => feedback
2010-01-25 15:00 ResearchOnBlogs Note Added: 10889
2010-01-25 19:58 user372 Status feedback => closed
2010-01-25 19:58 user372 Resolution open => no change required
2010-10-25 00:17 c_schmitz Category Survey Design => Survey design
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing