Commit Graph

14 Commits

Author SHA1 Message Date
53ec90e23e upload API: safer filename handling
Replace possibly-dangerous characters in uploaded filenames
with underscores, this includes spaces, colons, commas,
equal signs and any byte >= 128. Previously only spaces were
turned into underscores.

Also shell_quote the destination for scp.

Use '--' for some shell commands for safety.

Use brackets around the scp destination for ipv6 support.
2015-08-18 16:23:53 +02:00
583c2802f8 storage status API: allow to filter multiple content types 2015-08-07 09:46:49 +02:00
e384c898d3 allow iso upload for glusterfs 2014-09-10 14:15:11 +02:00
12c2fe32e1 bump version to 3.0-6 and fix bug from previous commit 2013-05-14 11:26:23 +02:00
283608f330 extend storage list API with useful parameters for clone
Add ability to list shared storages availavlable on souce and target node.
2013-05-14 09:56:11 +02:00
d6c9dc34af file upload: fix race condition
bump version to 2.3-6
2013-03-04 09:00:27 +01:00
45c2ee3526 PVE/API2/Storage/Status: remove hardcoded blowfish cipher PVE/Storage: remove hardcoded blowfish cipher
Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
2012-10-31 14:05:40 +01:00
571abaa611 add newline to error message 2012-06-18 06:30:27 +02:00
0c1473f928 only list iscsi when enabled (content == images) 2012-02-15 09:33:12 +01:00
1f6610f386 fix upload permissions. Only allow iso/tmpl upload. 2012-02-06 10:10:55 +01:00
5f642f73b8 add permission checks 2012-01-26 09:25:39 +01:00
4ea5bca4e3 use correct prefix 2011-11-03 09:32:32 +01:00
7814e05f6f implement file upload API 2011-11-03 09:22:53 +01:00
b6cf0a6659 imported from svn 'pve-storage/pve2' 2011-08-23 07:43:03 +02:00