View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
13075 | Bug reports | _ Unknown | public | 2017-12-19 16:07 | 2018-01-15 15:35 |
Reporter | TommyB | Assigned To | |||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | won't fix | ||
Product Version | 2.7x.x | ||||
Summary | 13075: URL-encoded Backslash character in some paths under tmp/assets/xxx with Firefox 46 and lower | ||||
Description | After a manual update to 2.72.6 suddenly all surveys and the template editor in the backend failed to show the correct template. So I checked with the firefox debugger and in the web server log files and before the update, the requests looked like this: [18/Dec/2017:10:41:55 +0100] "GET /survey/tmp/assets/81b731fd/scripts/template.js HTTP/1.1" 304 ....after the update though, there was an url-encoded backslash in the path, which results in a 404 error: [18/Dec/2017:10:52:40 +0100] "GET /survey/tmp/assets/c3527dc8/scripts%5Ctemplate.js HTTP/1.1" 404 The weird thing is, some of the assets are loaded properly: [18/Dec/2017:10:55:47 +0100] "GET /survey/tmp/assets/2bbf3928/jquery.ui.touch-punch.min.js HTTP/1.1" 200 After some research I found out that this seems to be different behaviour of Firefox compared to other browsers like IE or Chrome) which both replace the backslash with a forward slash before GETting the resource. Starting with Firefox 47, the browser replaces the "\" with a forward slash like other browsers. My suspect this is caused by wrong use of the PHP DIRECTORY_SEPARATOR global...? | ||||
Additional Information | Here are the first lines of the HTML source, you can see, some of the resources contain a "\" instead of a "/" (marked with <!-- HERE --!>): <!DOCTYPE html> <!-- HERE --!> <link rel="stylesheet" type="text/css" href="/styles-public/expressions.css" /> <!-- HERE --!> <script type="text/javascript" src="/scripts/survey_runtime.js"></script> | ||||
Tags | No tags attached. | ||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 2.72.6+171207 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox ESR 45.4.0 | ||||
Database type & version | MySql 5.7 | ||||
Server OS (if known) | Windows 2012 R2 | ||||
Webserver software & version (if known) | Apache 2.4.20 (Win32) | ||||
PHP Version | 7.0.3 | ||||
This problem appear between 171020 and 171207 versions |
|
3.0 out |
|
Sorry, but what does "3.0 out " mean? Is this fixed in 3.0? |
|
yep |
|
Great! Thx. :-) |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2017-12-19 16:07 | TommyB | New Issue | |
2017-12-22 12:52 | vkuzmin | Note Added: 45387 | |
2018-01-15 11:01 |
|
Assigned To | => LouisGac |
2018-01-15 11:01 |
|
Status | new => closed |
2018-01-15 11:01 |
|
Resolution | open => won't fix |
2018-01-15 11:01 |
|
Note Added: 45794 | |
2018-01-15 13:36 | TommyB | Note Added: 45807 | |
2018-01-15 13:55 |
|
Note Added: 45811 | |
2018-01-15 15:35 | TommyB | Note Added: 45819 |