Ilia Ross
f0f8dc2850
Fix to correctly escape content in editor mode
...
https://forum.virtualmin.com/t/webmins-file-managers-editor-converting-html-special-characters-making-the-next-save-detrimental/122606/18?u=ilia
605a32f87d
2023-09-16 16:57:08 +03:00
Ilia Ross
8b68eac561
Fix how errors are handled when $main::error_last_eval is set
...
Note: If `$main::error_last_eval` was set, then display full error message using HTML accordion, otherwise display a bubble showing a file name and line which failed
2023-09-15 15:37:33 +03:00
Ilia Ross
0503299773
Fix to correctly set last caller (file:line) in error
2023-09-15 14:16:58 +03:00
Ilia Ross
fead9b108d
Fix to print errors to STDERR nicely
2023-09-15 01:13:54 +03:00
Ilia Ross
f5f3510a59
Fix default download buffer (once more) as 1 MiB should be just fine
2023-09-04 14:09:55 +03:00
Ilia Ross
088aba8cec
Fix to use safer default buffer
2023-09-02 15:19:11 +03:00
Jamie Cameron
ac05a0c43a
Merge pull request #1991 from webmin/dev/cache-system-hostname-using-state
...
Fix to use a new way for clearing hostname cache
2023-08-26 15:34:26 -07:00
Ilia Ross
18f3e1273f
Fix to use a new param to clear cache
2023-08-27 01:27:05 +03:00
Ilia Ross
710829c16a
Fix to send headers unless already done in var_dump
2023-08-26 21:45:44 +03:00
Ilia Ross
d834bb6da0
Fix to use state instead of globals in get_system_hostname sub
2023-08-26 21:17:57 +03:00
Ilia Ross
2d7e57c7e1
Add hostname detection using hostnamectl command
2023-08-25 18:59:03 +03:00
Ilia Ross
a90dbc5f33
Fix not to print HTML in stdout
2023-08-20 14:08:31 +03:00
Ilia Ross
825b928168
Fix not to escape HTML unless sent to UI
2023-08-18 12:57:43 +03:00
iliajie
c500759d83
Fix to simplify the code
2023-08-07 21:52:22 +03:00
iliajie
736d30ef76
Fix to display error message cleanly #1975
2023-08-07 19:44:47 +03:00
iliajie
f3cc268f0c
Fix to show correct locale for sudo-capable user #1663 [build]
2023-08-04 12:54:17 +03:00
iliajie
8ef754b477
Add error_stderr API
2023-07-26 22:38:28 +03:00
Jamie Cameron
4cbda407f9
Merge pull request #1142 from seabres/multiple_ldap_server
...
Allow multiple LDAP server for userdb
2023-07-25 17:17:37 -07:00
iliajie
9746f7ea9e
Add facility to check for Webmin module menu link
2023-07-24 01:01:02 +03:00
iliajie
0d45d61edc
Fix to put error details into help bubble
2023-07-13 14:51:13 +03:00
iliajie
2d85a2951c
Fix to make errors less obscure
2023-07-12 23:40:41 +03:00
iliajie
368dacd028
Fix to simplify the code
2023-07-02 03:20:03 +03:00
iliajie
b49d4f8147
Fix to copy file permissions too
2023-07-01 22:19:30 +03:00
iliajie
0754367f48
Fix to consider temp directory may exists with incorrect permissions
2023-06-22 12:32:35 +03:00
Jamie Cameron
f6a3381682
Don't hang if we get a partial line
2023-06-11 19:01:49 -07:00
iliajie
472bd9c0e4
Fix to use microtime in filenames with var_dump sub
2023-06-09 13:51:55 +03:00
Jamie Cameron
1bdcc54f21
Merge pull request #1917 from webmin/dev/load-email-images-by-server
...
Add support to load email images using the server (for privacy)
2023-06-08 20:11:02 -07:00
iliajie
ca5c75785d
Fix to test Perl version for make_date to support (still) CentOS 6
...
https://sourceforge.net/p/webadmin/bugs/5622/
2023-06-09 03:21:01 +03:00
iliajie
df3b10c449
Revert "Fix file name as can be URL with a tracker, e.g. http://...img.png?1234 "
...
This reverts commit f19acd68b2 .
2023-06-08 01:16:32 +03:00
iliajie
72c5e39121
Fix to pass simply $response_headers instead
2023-06-07 22:04:58 +03:00
iliajie
cdd01e41bb
Fix to check if defined instead 9a69913ccb (r116945393)
2023-06-07 20:30:27 +03:00
iliajie
9a69913ccb
Fix not to set response headers unless requested
...
https://github.com/webmin/webmin/pull/1917#discussion_r1220002442
2023-06-06 22:44:23 +03:00
iliajie
3d67e17cef
Fix indent https://github.com/webmin/webmin/pull/1917#discussion_r1219998798
2023-06-06 22:19:48 +03:00
iliajie
5b8239c239
Add ability to return response headers
2023-06-04 15:11:08 +03:00
iliajie
8d66b62fce
Add to use HTML::Entities to try to decode all possible entities
...
https://github.com/webmin/webmin/pull/1917#discussion_r1213969328
2023-06-02 11:25:27 +03:00
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