Commit Graph

929 Commits

Author SHA1 Message Date
75b0a6f7bb Fix sending HSTS over plain HTTP does nothing
* Note: per the spec (RFC 6797), HSTS only takes effect when delivered on an HTTPS response

https://datatracker.ietf.org/doc/html/rfc6797#section-7.2
2025-06-30 13:43:46 +03:00
06ce137903 Fix to consider path separator as config init may never be run 2025-06-12 01:57:35 +03:00
b0c89fe440 Fix to rename to get_webmin_base_url and add clearer comment about the sub 2025-06-03 02:01:07 +03:00
c1545a5a5e Fix to factor out code for getting Webmin login link 2025-06-03 01:47:11 +03:00
9d2f906439 Session ID is too sensitive to every safely include in email 2025-05-30 12:28:28 -07:00
4c5560544a Remove unnecessary file existence checks, because we're going to attempt to read the files anyway 2025-05-26 14:18:53 -07:00
c85128bb4d Fix to fit in width 2025-05-26 19:50:48 +03:00
5d83d4040f Add support for showing gender-neutral translations
https://github.com/webmin/webmin/discussions/2482
https://forum.virtualmin.com/t/on-the-rejection-of-gender-neutral-language/133527

833292c0d1

fe064dd57d

4a19a6460b
2025-05-26 16:46:09 +03:00
9a48d874e2 Add support for printing more headers 2025-05-04 13:18:08 +03:00
6415b0d8a8 Log original script path, and show it 2025-04-29 11:37:55 -07:00
d821d58fb4 Fix typo 2025-04-29 11:27:03 -07:00
f7f3023191 Clean up repeated and inconsistent script name variables 2025-04-29 11:17:13 -07:00
0553cae4e3 Fix to avoid printing switch theme code unless authed 2025-04-24 10:23:14 +03:00
410d240e8b What if WEBMIN_VAR isn't set 2025-04-20 10:18:36 -07:00
c074e150f6 Merge branch 'master' of github.com:webmin/webmin 2025-04-20 10:00:55 -07:00
2916f5b723 Define the forgot password dir in init_config 2025-04-20 10:00:47 -07:00
f71c413b6d Fix to allow proxy links to open as they are if the referrer is trusted 2025-04-19 00:31:42 +03:00
d8513dbd9e Fix case where error is not called in a module 2025-04-17 22:08:53 -07:00
ba6da02850 Don't show module index link if not in a module 2025-04-15 21:19:59 -07:00
f15b147bd0 No need to check for the same condition twice 2025-04-15 21:16:49 -07:00
4b927ed588 Avoid duplicating the error message 2025-04-15 21:14:06 -07:00
f65625047b Fix to convert entities to ASCII before printing to logs 2025-04-12 18:26:26 +03:00
8d0f19f64d Fix to simplify error print 2025-04-12 18:25:18 +03:00
d2d16608dc Fix to filter out potentially dangerous characters
https://github.com/webmin/webmin/issues/1838#issuecomment-2795296531
2025-04-11 14:12:33 +03:00
1f07fdb274 Fix to prefer JSON::XS over JSON::PP if available for better performance 2025-03-21 16:55:32 +02:00
7b85a75a2b Fix not to add ? unless there is a query
[no-build]
2025-03-21 12:54:08 +02:00
2185f2068d Update pod
[no-build]
2025-03-21 12:53:05 +02:00
e60be7133b Add support for template variables to help pages 2025-03-20 20:02:47 -07:00
b17df99700 Check the UID that is used for file operations 2025-03-13 17:13:37 -07:00
98bda63c54 Declare missing variable 2025-03-04 18:07:26 -08:00
0943289abe Fix to try to simply flush and sync on existing file handle
https://github.com/webmin/webmin/pull/2428/files#r1976753485
2025-03-03 02:43:18 +02:00
707cd42bb5 Fix to flush and sync the temp and new files 2025-03-02 23:45:20 +02:00
554cf0e8af Make variable name clearer, and better handle the case where opening a file fails 2025-03-02 11:20:22 -08:00
c918e6583b Only fall back to writing to the dest file directly in the case of a permission denied when running as root, as root should already have access to all files 2025-03-02 11:12:38 -08:00
576fef7c76 Clean up any write_file values with a newline in them 2025-03-01 18:01:59 -08:00
cd84d0e74c Make variable local 2025-03-01 17:44:04 -08:00
773011e783 Preserve comments when editing an environment file
https://github.com/webmin/webmin/issues/2424
2025-02-26 21:33:45 -08:00
2697c12d88 Delete code that includes the last perl module failure in error messages, as it generateds a lot of misleading failures due to missing but un-needed perl modules 2025-02-22 10:19:08 -08:00
d79b2b8284 Fix to consider base remote user 2025-02-15 19:09:19 +02:00
b4725ac9ef Clear missing cache field 2025-02-08 20:43:36 -08:00
c1c265656c It doesn't matter if the QUIT command fails
https://github.com/webmin/webmin/issues/2394
2025-02-06 21:24:12 -08:00
a2520b4396 Fix special case for unspecified address when checking IPv6 2025-01-19 19:21:46 +02:00
5df04a50bd Fix factored out function to correctly sort one file by another 2025-01-17 22:28:18 +02:00
99a59ed554 Fix to factor out a function with different logic 2025-01-15 13:19:22 +02:00
f15ebca9af Fix indents 2025-01-15 12:20:38 +02:00
cc25fa2b32 Use formal params 2025-01-14 21:05:54 -08:00
1a45048d89 Temp filename should include a counter to ensure uniqueness 2025-01-14 15:51:02 -08:00
27ac760466 Using _ seems risky 2025-01-14 15:40:10 -08:00
07da92a2e7 Add support for sortable dates in tables 1/2 2024-12-25 13:47:03 +02:00
444307c58a There could be multiple CA paths 2024-11-08 15:16:40 -08:00