allow to upload files with spaces in filename
This commit is contained in:
parent
ef8fbc6447
commit
7f87932adb
@ -647,7 +647,7 @@ sub parse_content_disposition {
|
||||
if ($v =~ m/^\s*name\s*=\s*(\S+?)\s*$/o) {
|
||||
$name = $1;
|
||||
$name =~ s/^"(.*)"$/$1/;
|
||||
} elsif ($v =~ m/^\s*filename\s*=\s*(\S+?)\s*$/o) {
|
||||
} elsif ($v =~ m/^\s*filename\s*=\s*(.+?)\s*$/o) {
|
||||
$filename = $1;
|
||||
$filename =~ s/^"(.*)"$/$1/;
|
||||
}
|
||||
|
2
debian/changelog.Debian
vendored
2
debian/changelog.Debian
vendored
@ -1,6 +1,8 @@
|
||||
pve-manager (3.0-19) unstable; urgency=low
|
||||
|
||||
* updated Chinese translation
|
||||
|
||||
* allow to upload files with spaces in filename (replace with '_')
|
||||
|
||||
-- Proxmox Support Team <support@proxmox.com> Wed, 22 May 2013 06:04:49 +0200
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user