Commit Graph

944 Commits

Author SHA1 Message Date
iliajie
ec21297448 Add API to unescape HTML entities 2023-06-01 23:00:52 +03:00
iliajie
02236da8bc Fix to checkout master commits (added by accident) 2023-06-01 18:05:24 +03:00
iliajie
b3ab3f65a8 Revert "Merge branch 'master' into dev/load-email-images-by-server"
This reverts commit a5ba7ebe05, reversing
changes made to 0e93560003.
2023-06-01 17:59:31 +03:00
Ilia
a5ba7ebe05 Merge branch 'master' into dev/load-email-images-by-server 2023-06-01 17:57:09 +03:00
Jamie Cameron
23bd2fbe3f Handle case where a URL has an @ towards the end 2023-05-31 16:09:34 -07:00
iliajie
f19acd68b2 Fix file name as can be URL with a tracker, e.g. http://...img.png?1234 2023-05-31 23:28:19 +03:00
iliajie
605a32f87d Fix to add a proper check with negative lookahead before escaping & 2023-05-31 13:44:50 +03:00
iliajie
d62f474d12 Fix double escaping for HTML entities in error messages 2023-05-26 21:59:11 +03:00
Jamie Cameron
f22bada12c Merge pull request #1908 from webmin/dev/add-url-redirect-tester
Add API to check if given URL redirects somewhere
2023-05-19 16:16:58 -07:00
iliajie
6af198b2f1 Fix to never double escape certain HTML entities (can be already escaped) 2023-05-19 13:53:10 +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
29bb158ef4 Fix to drop obsolete code 2023-05-18 22:10:28 +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
18392aab61 Add more sense to variables names 2023-05-18 20:13:24 +03:00
iliajie
702fc7d584 Fix to return error straight away 2023-05-18 19:53:24 +03:00
iliajie
cc15a65c47 Fir variables declarations 2023-05-18 19:50:57 +03:00
iliajie
377c64ef47 Add comments 2023-05-18 19:18:56 +03:00
iliajie
43edaacada Fix to provide full details on each hop and improve data structures 2023-05-18 16:43:58 +03:00
iliajie
b1f0c46059 Add support for multi hops in redirects 2023-05-18 12:14:49 +03:00
iliajie
6a693e3dc7 Fix path key name 2023-05-18 12:14:17 +03:00
iliajie
2436c25a46 Fix to reduce timeout 2023-05-18 12:13:45 +03:00
iliajie
352e3855db Fix to only use Webmin code 2023-05-17 23:51:38 +03:00
iliajie
46e8076793 Fix indent 2023-05-17 22:23:14 +03:00
iliajie
d308aa8ae8 Fix not to check for SSL certificate 2023-05-17 22:04:43 +03:00
iliajie
96132e28d6 Fix to test if redirected URL can be resolved 2023-05-17 21:38:36 +03:00
iliajie
b0731f6e35 Add to use LWP::UserAgent if available 2023-05-17 17:31:42 +03:00
iliajie
a4f7cb1f8c Add API to check if given URL redirects somewhere 2023-05-17 16:59:00 +03:00
iliajie
9eb2624deb Add ability to pass browser's client height to the server 2023-05-12 12:02:58 +03:00
iliajie
4e96552b03 Fix to factor out read_help_file sub to be accessible by theme 2023-05-06 12:01:06 +03:00
Jamie Cameron
f9c4cacd6c SCRIPT_NAME isn't a safe variable to use, because sometimes Virtualmin sets it 2023-04-30 21:43:33 -07:00
iliajie
da1ee58a7c Fix to use offset rather than zone name https://github.com/virtualmin/virtualmin-gpl/issues/552 2023-04-26 11:30:53 +03:00
iliajie
14a07d4959 Fix to test if home directory is writable https://github.com/webmin/webmin/issues/1892#issuecomment-1522680504
Introduced with: https://github.com/webmin/webmin/commit/f46cc45
2023-04-26 09:30:24 +03:00
Jamie Cameron
e5249a6e3b No need for a wrapper around the wrapper function 2023-04-18 15:44:40 -07:00
iliajie
d154935e8f Fix to factor out create_wrapper sub 2023-04-18 21:21:30 +03:00
iliajie
31b2f92b88 Fix to use HTML entity for space 2023-04-10 20:39:57 +03:00
Jamie Cameron
188e1aeb88 Merge branch 'master' of github.com:webmin/webmin 2023-03-19 15:22:54 -07:00
Jamie Cameron
eff6228928 Don't bother formatting if number of bytes is undefined 2023-03-19 15:20:57 -07:00
iliajie
01ea77ebca Fix to fail-proof time zone detection #1865 2023-03-19 19:05:23 +02:00
iliajie
0b99afaa0f Fix comment 2023-03-18 17:54:16 +02:00
iliajie
8bd1c56743 Fix code indent 2023-03-18 04:15:00 +02:00
iliajie
88eb228f77 Fix to always set time to "beginning" in case of undef value 2023-03-16 20:42:15 +02:00
Jamie Cameron
ce65643c03 Fix indentation 2023-03-16 11:23:47 -07:00
iliajie
242e694181 Add support to pass query string with referer relative sub 2023-03-08 01:29:29 +02:00
iliajie
8e083d044e Fix to use indexof instead of grep 2023-03-03 17:31:47 +02:00
iliajie
6ca851c49a Fix to skip Webmin notifications as can be added later 2023-03-03 02:03:44 +02:00
iliajie
7932c08507 Add support for loading given modules info in background only 2023-03-03 00:40:33 +02:00
iliajie
98c3f82ea5 Fix to make file and group choosers work 2023-02-28 22:00:50 +02:00
iliajie
aba9925805 Fix to improve variable name 2023-02-16 23:26:03 +02:00
iliajie
216a7f9703 Add ability for a remote proxy to set webprefix using headers #1838 2023-02-16 23:19:00 +02:00
iliajie
df21b28d5d Fix to avoid HTML in CLI when making date 2023-02-15 01:11:35 +02:00