View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
07749Bug reportsOtherpublic2013-04-11 23:22
ReporterErik Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionunable to reproduce 
Product Version2.00+ 
Summary07749: Save question with java script code not possible (Build 130325)
Description

Hi, if I try to insert java script in a question source (in the help window) and then try to save it I get redirected outside the limesurvey enviroment and the question is not saved...

Steps To Reproduce

input any type of java script as in a "help" question as code and try to save

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)130325
I will donate to the project if issue is resolvedNo
Browser
Database type & versiondon't know
Server OS (if known)don't know
Webserver software & version (if known)don't know
PHP Version5.3.23
Git branch / Pull Request URL

Users monitoring this issue

Erik

Activities

Erik

Erik

2013-04-10 11:42

reporter   ~24932

Attached a demo survey. Just add any type of javascript like <script type="text/javascript">
</script> in the HELP window code and you will notice a redirect outside limesurvey and the question will not be saved....

DenisChenu

DenisChenu

2013-04-11 13:34

developer   ~24937

Can nor reproduct actually,

Are you superadmin ?

I test with or without HTML editor.

Erik

Erik

2013-04-11 14:08

reporter   ~24938

Hmm strange.
Yes I'm super admin. If in the help window first click "code" then type in any script and press save I get redirected to mydomain.nl/wp-login.php?redirect_to=http%3A%2F%2Fmydomain.nl%2Fwp-admin%2F&reauth=1

tested also with newest 130406, same issue, different browser and different computer, same issue....

DenisChenu

DenisChenu

2013-04-11 14:53

developer   ~24939

Maybe some "script" protection in your .htaccess file in WordPress.

Test with renaming example.net/.htaccess to example.net/htaccess.txt

Issue History

Date Modified Username Field Change
2013-04-09 15:07 Erik New Issue
2013-04-10 11:30 Erik Issue Monitored: Erik
2013-04-10 11:40 Erik File Added: limesurvey_survey_922818.lss
2013-04-10 11:42 Erik Note Added: 24932
2013-04-11 13:34 DenisChenu Note Added: 24937
2013-04-11 14:08 Erik Note Added: 24938
2013-04-11 14:53 DenisChenu Note Added: 24939
2013-04-11 23:22 c_schmitz Status new => closed
2013-04-11 23:22 c_schmitz Assigned To => c_schmitz
2013-04-11 23:22 c_schmitz Resolution open => unable to reproduce