Jamie Cameron
c73c3972fc
Clarify return value
2014-10-05 17:26:46 -07:00
Jamie Cameron
7b9fa73fcb
Make sure module is an empty string, so that SQL queries don't fail
2014-09-19 23:09:42 -07:00
Jamie Cameron
f47eabb6ae
Use faster native perl module for encoding and decoding base-64 if available
2014-08-21 13:45:48 -07:00
Piotr Pawłow
1d6c3fbc75
Use encodeURIComponent() instead of escape()
...
Reasons being:
- escape() is deprecated.
- escape() uses non-standard %u encoding, which isn't decoded properly by chooser.cgi.
- encodeURIComponent() uses UTF-8, which isn't decoded properly by chooser.cgi either,
but at least is has a chance of matching the page / filesystem encoding and working
properly.
2014-07-07 13:12:48 +02:00
Jamie Cameron
1c590a118b
Escape using hex codes, as suggested by rot13
2014-07-05 10:47:23 -07:00
Jamie Cameron
cb725f504d
Fix double escaping
2014-07-03 23:07:06 -07:00
Jamie Cameron
0a455b7433
Add new function for quoting JS strings
2014-07-03 15:52:30 -07:00
Jamie Cameron
822b09c8e1
Specifically allow only local frames, as Chrome on iOS doesn't load framesets without this http://virtualmin.com/node/33332
2014-05-30 21:34:05 -07:00
Jamie Cameron
437efcb5fc
Allow popup to be disabled
2014-05-30 16:55:20 -07:00
Jamie Cameron
ae4eebe176
Fix check for err ref
2014-05-25 18:03:00 -07:00
Jamie Cameron
9c51f82845
Prevent invalid lock files
2014-05-15 07:13:03 -07:00
Jamie Cameron
3e1e20e613
Report to STDERR if user DB connection fails
2014-04-24 10:40:50 -07:00
seabres
6778152255
Add fallback to local user if userdb not reachable.
2014-04-24 12:04:36 +02:00
Jamie Cameron
8ad1df2d7f
Document 3rd param
2014-04-18 17:24:16 -07:00
Jamie Cameron
a56e4d70dd
Add API function to write out a file in one shot
2014-03-10 21:22:20 -07:00
Jamie Cameron
1846709d75
Prevent locks that are links
2014-03-10 20:07:45 -07:00
Allan Kristensen
2dc8f8bdc8
Improve file upload speed
2014-02-26 15:26:37 +01:00
Jamie Cameron
bbe30b2fc4
Add API params for specifiying a local IP to bind to
2014-02-22 11:01:12 -08:00
Jamie Cameron
d694e8c685
Block JS loaded from external sources
2014-01-23 11:16:54 -08:00
Nawawi Jamili
59231c226b
html cleanup: standardized
2013-12-05 14:28:03 +08:00
Nawawi Jamili
19174560d5
html cleanup, remove unnecessary space
2013-12-03 18:50:54 +08:00
Jamie Cameron
a8d6ca3f89
Support new EPSV command for IPv6
2013-11-11 17:16:47 -08:00
Jamie Cameron
53011ba46d
Add base32 encode / decode functions
2013-09-29 17:49:01 -07:00
Jamie Cameron
b914f75aca
When running fastrpc.cgi on the same server, leave STDERR going to the regular log file http://virtualmin.com/node/30152
2013-09-20 12:35:54 -07:00
Jamie Cameron
7a20b0512b
Don't complain about Webmin not running when adding a webmincron job https://sourceforge.net/p/webadmin/bugs/4290/
2013-09-03 13:57:25 -07:00
Jamie Cameron
45778655e2
Add option to silently continue if flushing a non-loaded file
2013-08-16 16:36:46 -07:00
Jamie Cameron
61002f9e03
Truncate debug log when default size is in use https://sourceforge.net/p/webadmin/bugs/4266/
2013-07-05 15:01:58 +08:00
Jamie Cameron
01c189fbf3
Make return to previous page on error link just be the same as clicking back http://virtualmin.com/node/26483
2013-04-28 15:41:39 -07:00
Jamie Cameron
637527cb26
Sort modules case-insensitively
2013-03-17 21:42:46 -07:00
Jamie Cameron
9352b0d8ce
Handle nested clean calls
2013-03-16 11:29:56 -07:00
Jamie Cameron
4e1a32c78e
Option to change redirects to use just a path
2013-03-10 18:11:55 -07:00
Jamie Cameron
ac6713e77c
Re-try read on INTR signal
2013-02-09 18:07:09 -08:00
Jamie Cameron
90ab177f80
Give better responses to RPC read failures
2013-02-05 23:08:47 -08:00
Jamie Cameron
706cea3eb9
Make sure we are actually in foreign module call mode
2013-02-04 12:26:16 -08:00
Jamie Cameron
7e9438ba5a
add missing handle param https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3586355&group_id=17457
2012-11-12 15:01:25 -08:00
Jamie Cameron
d3ac9c1c4f
Add header to prevent framing
2012-11-01 11:47:08 -07:00
Jamie Cameron
8a84b3f357
Better error reporting when local fastrpc.cgi fails https://www.virtualmin.com/node/23798
2012-10-31 13:59:14 -07:00
Jamie Cameron
eb720abd9b
Allow port mismatch if referring site is trusted https://www.virtualmin.com/node/23755
2012-10-24 10:50:51 -07:00
Jamie Cameron
c4ff7003c5
Check referer port too
2012-09-21 10:03:55 -07:00
Jamie Cameron
449ef784f9
Check port on referer
2012-09-21 09:43:26 -07:00
Paul Gear
f87f74621a
Switch order of command and mode in debug logs
2012-08-31 10:27:01 +10:00
Jamie Cameron
47d5cd0586
Un-taint mdir before adding to @INC https://sourceforge.net/tracker/index.php?func=detail&aid=3558014&group_id=17457&atid=117457#
2012-08-15 13:29:35 -07:00
Jamie Cameron
e2335deff5
Object classes aren't case sensitive https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3539524&group_id=17457
2012-07-03 11:18:13 -07:00
Jamie Cameron
93dcf6538a
Clean up old history
2012-05-21 21:52:53 -07:00
Jamie Cameron
197367f20e
Build and conversion changes to auto-generate UTF-8 encodinges
2012-04-11 16:50:00 -07:00
Jamie Cameron
a9923d64c8
Fix error message to not always say 'bad file descriptor'
2012-03-17 10:49:13 -07:00
Jamie Cameron
499c6e58b4
Make temp file path include PID
2012-03-03 10:19:19 -08:00
Jamie Cameron
ef5f26ce51
Fix text arg substitution to not double-subs text if replacement contains $N
2012-02-19 23:15:16 -08:00
Jamie Cameron
e0af3d9c96
Fix double title https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3471029&group_id=17457
2012-01-08 11:05:48 -08:00
Jamie Cameron
7b04118991
Remove double brackets
2012-01-07 10:12:32 -08:00