View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
06205Bug reportsSurvey takingpublic2012-06-20 14:08
ReporterMazi Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.92+ 
Target Version1.92+Fixed in Version1.92+ 
Summary06205: End URLs missing "http://" are leading to invalid URL
Description

If I enter something like "www.limesurvey.org" for the end URL, this results in the URL http://localhost/git/stable/admin/www.limesurvey.org being shown as end URL.
I have to us HTTP://www.limesurvey.org, otherwise the end URL will lead to 404 errors.

Because most users only enter www.mydomain.org without HTTP://, I suggest to add a simple check before save to automatically add http:// if it is missing for the end URL.

Steps To Reproduce

Import, activate and fill out the attached survey.

Additional Information

The problem seems to exist at Limesurvey 2 as well.

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)120608
I will donate to the project if issue is resolvedNo
BrowserFirefox 12
Database type & versionMySQL 5
Server OS (if known)Win 7
Webserver software & version (if known)Apache 2.2
PHP Version5.3.1

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2012-06-12 14:38

developer   ~19203

Hello,

I think it's a bad idea to add http:// each time.

Some user can want have ../index.html for example.

Maybe put http:// bu default in javascript is a good solution: user can remove it but know it's needed :).

Denis

Mazi

Mazi

2012-06-12 15:15

updater   ~19212

That sounds like a good solution if we just pre-fill the field with "http://" so the user can easily delete it.

DenisChenu

DenisChenu

2012-06-12 15:30

developer   ~19213

And delete it if it's == "http://" ;)

DenisChenu

DenisChenu

2012-06-14 02:00

developer   ~19246

Auto link to github don't work ?
192 : https://github.com/LimeSurvey/LimeSurvey/commit/f16b7d2712b63b12373dcf37ceecb62ef140ebe9
Yii : https://github.com/LimeSurvey/LimeSurvey/commit/16302e2d08b8b4bb60c4f5f9b860c1b23465d0a5

DenisChenu

DenisChenu

2012-06-15 08:50

developer   ~19260

Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8729

c_schmitz

c_schmitz

2012-06-15 08:51

administrator   ~19269

gitHub changed their API - I had to update the Mantis plugin - auto link is now back to working.

c_schmitz

c_schmitz

2012-06-20 14:08

administrator   ~19398

New 1.92+ version released.

Related Changesets

LimeSurvey: master f16b7d27

2012-06-13 16:29:54

DenisChenu

Details Diff
Fixed issue 06205: Add http:// by default to endurl for indication Affected Issues
06205
mod - admin/editsurveytextelements.php Diff File

LimeSurvey: Yii 16302e2d

2012-06-13 16:57:16

DenisChenu

Details Diff
Fixed issue 06205: Add http:// by default to endurl for indication Affected Issues
06205
mod - application/models/Surveys_languagesettings.php Diff File
mod - application/views/admin/survey/editLocalSettings_view.php Diff File

Issue History

Date Modified Username Field Change
2012-06-12 14:35 Mazi New Issue
2012-06-12 14:35 Mazi Status new => assigned
2012-06-12 14:35 Mazi Assigned To => DenisChenu
2012-06-12 14:35 Mazi File Added: limesurvey_survey_95145.lss
2012-06-12 14:38 DenisChenu Note Added: 19203
2012-06-12 15:15 Mazi Note Added: 19212
2012-06-12 15:30 DenisChenu Note Added: 19213
2012-06-14 02:00 DenisChenu Note Added: 19246
2012-06-14 02:00 DenisChenu Status assigned => resolved
2012-06-14 02:00 DenisChenu Fixed in Version => 1.92+
2012-06-14 02:00 DenisChenu Resolution open => fixed
2012-06-15 08:50 DenisChenu Changeset attached => LimeSurvey master f16b7d27
2012-06-15 08:50 DenisChenu Changeset attached => LimeSurvey Yii 16302e2d
2012-06-15 08:50 DenisChenu Note Added: 19260
2012-06-15 08:51 c_schmitz Note Added: 19269
2012-06-20 14:08 c_schmitz Note Added: 19398
2012-06-20 14:08 c_schmitz Status resolved => closed