Commit Graph

865 Commits

Author SHA1 Message Date
Ilia Rostovtsev
8d1a3e50ad Fix always use binary based units f3bcbd4743 2019-11-03 19:04:54 +03:00
Ilia Rostovtsev
ef85abd9f6 Check for defined, as zero also a value 2019-10-24 14:47:49 +03:00
Ilia Rostovtsev
7b2a873998 Add an option if config files should be sorted on save 2019-10-22 14:57:05 +03:00
Ilia Rostovtsev
1bf4b1e8ce Add an option to choose between KiB, MiB, GiB and KB, MB, GB units 2019-10-22 14:02:46 +03:00
Ilia Rostovtsev
eb412a1084 Fix to only order by key config files not other files 8a81277731 2019-10-22 12:46:30 +03:00
Ilia Rostovtsev
8a81277731 Sort saved keys https://github.com/virtualmin/virtualmin-gpl/issues/99#issuecomment-543613442 2019-10-18 16:02:03 +03:00
Ilia Rostovtsev
c40001880c Keep names consistent 2019-10-16 14:17:58 +03:00
Ilia Rostovtsev
2e948ad2a1 Fix conversion for sizes 2019-10-16 14:14:46 +03:00
Jamie Cameron
8e9d0b3d88 Really fix duplicate header check 2019-10-12 22:17:06 -07:00
Jamie Cameron
e4d4ed51de Don't send default headers if overridden by caller 2019-10-06 22:25:34 -07:00
Jamie Cameron
a1c9fa94fc Protect against malicious existing .webminorig link 2019-10-05 23:02:24 -07:00
Jamie Cameron
162e2c55f6 Use formal params 2019-09-21 08:56:55 -07:00
Jamie Cameron
03d77c5703 Make sure temp files created for diffing aren't work-readable 2019-09-19 08:49:25 -07:00
Ilia Rostovtsev
eb5c9038cf Use request URI as ReadParse not run 2019-09-06 20:20:14 +03:00
Jamie Cameron
1e2545b06e Call footer after referer error 2019-08-10 16:27:27 -07:00
Jamie Cameron
3ef0e979d6 Never use theme for referrer check error, to limit the attack surface 2019-08-10 16:26:02 -07:00
Jamie Cameron
df8a43fb4b Object names cannot contact special characters 2019-08-03 22:41:37 -07:00
Jamie Cameron
0da2af51c6 Reject null bytes early https://github.com/webmin/webmin/issues/945 2019-08-03 11:15:17 -07:00
Jamie Cameron
de24b412d0 Fix webprefix removal to take / into account https://github.com/webmin/webmin/issues/1051 2019-05-19 18:14:09 -07:00
Ilia Rostovtsev
accbcfd4d4 Fix typo 2019-05-19 13:01:06 +03:00
Jamie Cameron
1bacadd3b4 Empty hash keys don't always work 2019-04-28 13:14:15 -07:00
Ilia Rostovtsev
6853582e72 Fix previously false logic for redirects 2019-04-26 14:16:09 +03:00
Ilia Rostovtsev
4b709fd473 Write follow URL only once 2019-04-25 16:22:44 +03:00
Ilia Rostovtsev
203a307b5a Fix comment 2019-04-23 16:48:26 +03:00
Ilia Rostovtsev
9e43813df8 Fix indentations 2019-04-23 16:47:16 +03:00
Ilia Rostovtsev
c86e29470a Fix to store redirects more reliably 2019-04-23 16:45:29 +03:00
Jamie Cameron
60321ac83e Get domain name from DNS config if possible 2019-04-21 14:11:18 -07:00
Jamie Cameron
c0ae367a05 Explain why lockijng failed https://www.virtualmin.com/node/65417 2019-04-12 16:41:29 -07:00
Ilia Rostovtsev
34c6acdeb2 As proxy used, redirect properly upon initial load or page reload
Now, it redirects to the domain root.
2019-04-07 11:14:35 +03:00
Jamie Cameron
4c77446b2f Newer CentOS versions use /etc/hostname 2019-04-03 22:49:05 -07:00
Jamie Cameron
ce196d6b8b Extra protection against creating a user called 'webmin' https://www.virtualmin.com/node/65058 2019-03-17 18:39:49 -07:00
Jamie Cameron
d9f0b016c2 Allow custom HTTP headers https://github.com/webmin/webmin/issues/1026 2019-02-16 17:18:06 -08:00
Jamie Cameron
453323cce3 Don't show a stack trace when an exception is being caught 2019-02-03 17:18:12 -08:00
Jamie Cameron
544c2b5fa7 Other 40x codes exist 2019-01-27 21:18:07 -08:00
Jamie Cameron
32440f642f Remove debug message 2019-01-20 16:59:15 -08:00
Jamie Cameron
216a906aea Fail fast if dest file cannot be opened 2019-01-14 20:26:04 -08:00
Ilia Rostovtsev
1952844ea0 Fix code indent 2018-10-25 12:48:22 +03:00
Ilia Rostovtsev
37a62f7fcb Add ability to print errors in JSON format 2018-10-25 12:45:01 +03:00
Ilia Rostovtsev
6124e7e953 Add JSON decode subroutine 2018-10-23 14:13:17 +03:00
Ilia Rostovtsev
a9d3e2e3c9 Fix possible fatal error for writing a file longer than 255 chars 2018-09-28 11:15:09 +03:00
Ilia Rostovtsev
7f39203f3b Append hex URL representation to stored file name, to process multiple, simultaneous requests https://github.com/authentic-theme/authentic-theme/issues/1196 2018-09-27 13:44:59 +03:00
Jamie Cameron
e092a26592 test change 2018-09-13 14:27:47 +00:00
Ilia Rostovtsev
66c358f984 Revert "An attempt to support various module names https://github.com/virtualmin/virtualmin-gpl/pull/63#issuecomment-419717260"
This reverts commit 0864f12bc1.
2018-09-10 09:40:03 +03:00
Ilia Rostovtsev
0864f12bc1 An attempt to support various module names https://github.com/virtualmin/virtualmin-gpl/pull/63#issuecomment-419717260 2018-09-09 18:56:00 +03:00
Jamie Cameron
774f23b31b Merge branch 'master' of git@github.com:webmin/webmin 2018-08-31 15:59:06 -07:00
Jamie Cameron
98c32e11bc Respect noerror flag when closing a file https://www.virtualmin.com/node/56681 2018-08-31 14:39:46 -07:00
Ilia Rostovtsev
c180a4c91f Fix file inclusion for overlay themes; abstracted meta words replacement 2018-08-30 19:14:08 +03:00
Jamie Cameron
a2e984175e Make it possible for callers to set a zero timeout, meaning none at all 2018-08-29 16:53:35 -07:00
Ilia Rostovtsev
c40230d1db Don't double encode data and don't enforce charset 2018-08-23 14:05:21 +03:00
Ilia Rostovtsev
73de1824db Improve error message response text for JSON:PP 2018-08-23 00:13:27 +03:00