Commit Graph

168 Commits

Author SHA1 Message Date
Ilia Ross
a6f5e593b0 Fix self-XSS when downloading a file
Reported by: Rushikesh Kaware
[build]
2024-01-20 12:36:11 +02:00
Ilia Ross
e264daebe0 Fix German translation
https://github.com/webmin/webmin/issues/2060
2023-12-10 19:56:26 +02:00
Ilia Ross
99b8959559 Fix to send a file in chunks
https://forum.virtualmin.com/t/upgrade-2-102-killed-download-from-server-feature/122413/7?u=ilia
2023-09-02 15:18:49 +03:00
iliajie
d9ea914889 Fix to always upload to user home directory if possible 2023-07-31 03:10:00 +03:00
iliajie
1730540764 Fix to always download to user home directory if possible 2023-07-31 03:05:39 +03:00
iliajie
fab2a1c871 Fix to slurp file using local $/ instead 3de93296a9 (r114530097) 2023-05-23 14:12:28 +03:00
iliajie
c4866735ba Fix to always download altered file (no banner) 2023-05-22 12:07:37 +03:00
iliajie
794ca0f651 Add ability to read potentially dangerous files safely or force download 2023-05-20 12:05:03 +03:00
iliajie
e288f1b955 Revert recent changes to add on the PR instead https://github.com/webmin/webmin/issues/1907#issuecomment-1555642036 2023-05-20 12:01:57 +03:00
iliajie
3de93296a9 Fix to improve un-safe downloads https://github.com/webmin/webmin/issues/1907#issuecomment-1553946236 2023-05-19 13:23:43 +03:00
iliajie
7b37cedaf6 Fix to filter possible JavaScript in PDF files https://github.com/webmin/webmin/issues/1907#issuecomment-1552117601 2023-05-18 21:38:22 +03:00
iliajie
953c4ed020 Fix to consider all variations of HTML types 2023-05-17 11:53:06 +03:00
iliajie
d5a3eebe85 Fix to read full size of dangerous type 2023-05-17 11:13:22 +03:00
iliajie
c92395176f Fix to consider XML too #1907 2023-05-16 14:41:09 +03:00
Jamie Cameron
ab44aa8023 When showing HTML, filter out any JS 2023-05-15 20:48:52 -07:00
Jamie Cameron
152414d631 Revert "Fix to always force text/plain for all kind for text #1907"
This reverts commit 5e9f137adf.
2023-05-15 20:45:10 -07:00
iliajie
5e9f137adf Fix to always force text/plain for all kind for text #1907 2023-05-16 00:50:41 +03:00
iliajie
e9d58bdd42 Add API to get buffer size for file transfers 2022-11-21 21:07:00 +02:00
iliajie
1550e9e639 Revert "Fix to place the checkbox the same way"
This reverts commit 7ac4a389fb.
2022-11-18 20:44:24 +02:00
iliajie
7ac4a389fb Fix to place the checkbox the same way 2022-11-18 20:43:51 +02:00
iliajie
394ca56f4b Add more space before the checkbox 2022-11-18 20:41:11 +02:00
Ilia Rostovtsev
0462945632 Update translations 3/3 2021-11-18 22:13:17 +03:00
Jamie Cameron
11d382cb36 Use new function to get buffer size, instead of hard-coding 2021-03-27 12:17:22 -07:00
Ilia Rostovtsev
4c4b647096 Fix to add extra line breaks (sections) to language files 2020-12-27 21:15:36 +03:00
Ilia Rostovtsev
e2a7aaaf6a Auto-fix French language translations 2020-12-25 14:32:30 +03:00
ljdj
9083d3b052 Update fr
Complete and indented translation in French
2020-12-24 05:28:16 +01:00
Jamie Cameron
c6345ec1e9 Norwegian translation update from Stein-Askel Basma 2020-12-06 11:00:27 -08:00
Ilia Rostovtsev
fafc6ed2b5 Drop useless empty files /2 2020-04-29 23:25:40 +03:00
Ilia Rostovtsev
ee56777e6d Drop useless empty files 2020-04-29 23:17:45 +03:00
Ilia Rostovtsev
8b40bed018 Fix to escape HTML entities as designed on template language (en)
Note: Large diff for most files is due to sorting lines as in template languge file (English)
2020-04-14 01:34:18 +03:00
Jamie Cameron
a2dc3f7124 Switch all calls to open() to explicitly open for read 2020-03-14 17:20:54 -07:00
Ilia Rostovtsev
9a593e912b Fix post-translation bugs /8 2020-03-13 13:48:45 +03:00
Ilia Rostovtsev
9c8486fb65 Fix post-translation bugs /3 2020-03-13 12:46:30 +03:00
Ilia Rostovtsev
aaf210f47c Fix post-translation bugs /1 2020-03-12 00:53:55 +03:00
Ilia Rostovtsev
735b103a8c Add transcoding/translation for updown module of 한국어 (ko) 2020-03-11 00:46:42 +03:00
Ilia Rostovtsev
5e09b8ecc2 Add transcoding/translation for updown module of 日本語 (ja) 2020-03-11 00:46:31 +03:00
Ilia Rostovtsev
3d5bbe5d89 Add transcoding/translation for updown module of 中文 (繁體) (zh_TW) 2020-03-11 00:45:38 +03:00
Ilia Rostovtsev
94caaee770 Add transcoding/translation for updown module of 中文 (简体) (zh) 2020-03-11 00:45:14 +03:00
Ilia Rostovtsev
6ad7f8eac8 Add transcoding/translation for updown module of ไทย (th) 2020-03-11 00:44:22 +03:00
Ilia Rostovtsev
301f532753 Add transcoding/translation for updown module of فارسی (fa) 2020-03-11 00:43:30 +03:00
Ilia Rostovtsev
a44d0f9f6e Add transcoding/translation for updown module of العربية (ar) 2020-03-11 00:42:37 +03:00
Ilia Rostovtsev
f80bbead3e Add transcoding/translation for updown module of اردو (ur) 2020-03-11 00:41:45 +03:00
Ilia Rostovtsev
a9848d61f6 Add transcoding/translation for updown module of עברית (he) 2020-03-11 00:40:53 +03:00
Ilia Rostovtsev
54bbed49c5 Add transcoding/translation for updown module of українська (uk) 2020-03-11 00:40:00 +03:00
Ilia Rostovtsev
68282309c1 Add transcoding/translation for updown module of русский (ru) 2020-03-11 00:39:41 +03:00
Ilia Rostovtsev
19d70f33ec Add transcoding/translation for updown module of български (bg) 2020-03-11 00:39:21 +03:00
Ilia Rostovtsev
4e6acfe61b Add transcoding/translation for updown module of беларуская (be) 2020-03-11 00:38:28 +03:00
Ilia Rostovtsev
f3ac432aa5 Add transcoding/translation for updown module of Ελληνικά (el) 2020-03-11 00:37:34 +03:00
Ilia Rostovtsev
a316b258f0 Add transcoding/translation for updown module of čeština (cs) 2020-03-11 00:36:28 +03:00
Ilia Rostovtsev
c3f0970cd7 Add transcoding/translation for updown module of svenska (sv) 2020-03-11 00:35:36 +03:00