Bug #5343
closedCannot upload or download from exec.php when in non-English language
100%
Description
e.g. set language to Turkish (which has "Download" and "Upload" translations).
Diagnostics->Command Prompt
Try to download or upload a file.
It does not work - nothing happens when the download or upload button is pushed.
Updated by Phillip Davis about 9 years ago
Pull request for RELENG_2_2: https://github.com/pfsense/pfsense/pull/1986
Updated by Phillip Davis about 9 years ago
Pull request for master: https://github.com/pfsense/pfsense/pull/1987
The fix is actually needed in master as well as RELENG_2_2 because the code in master is still using some non-bootstrap for this, so it needs to work just as in RELENG_2_2.
Updated by Anonymous about 9 years ago
Thanks Phil. I will address this later today. I agree that passing language dependent terms in a POST request is bad. I propose that we separate the display from the value and use one word, capitalized English terms for the latter. e.g.:
<button class="btn btn-sm btn-success" value="SAVE">=gettext("Save")?>></button>
or similar depending on the HTML
Updated by Jim Thompson about 9 years ago
- Assignee changed from Phillip Davis to Anonymous
Updated by Anonymous about 9 years ago
- Status changed from New to Feedback
- Assignee changed from Anonymous to Phillip Davis
Updated as suggested above.
Also added Javascript to scroll the page to the PHP section when a PHP command is executed.
Updated by Anonymous about 9 years ago
- % Done changed from 0 to 100
Applied in changeset bd8eeef99c49ac278d9c21e0304911715f7b1e35.
Updated by Phillip Davis about 9 years ago
2.3-ALPHA (amd64)
built on Mon Oct 26 19:32:58 CDT 2015
FreeBSD 10.2-STABLE
Works
Updated by Phillip Davis about 9 years ago
2.2.5-DEVELOPMENT (i386)
built on Mon Oct 26 18:12:44 CDT 2015
FreeBSD 10.1-RELEASE-p23
Works