Commit e9c1139e authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Manage base64 special chars in upload phase (#250)

parent 168f219d
...@@ -86,7 +86,7 @@ sub confUpload { ...@@ -86,7 +86,7 @@ sub confUpload {
my $NK = 0; my $NK = 0;
$id =~ $id =~
s/^text_(NewID_)?li_(\w+)(\d)(?:_\d+)?$/decode_base64($2.'='x $3)/e; s/^text_(NewID_)?li_([\w\/\+\=]+)(\d)(?:_\d+)?$/decode_base64($2.'='x $3)/e;
$NK = 1 if ($1); $NK = 1 if ($1);
$id =~ s/\r//g; $id =~ s/\r//g;
$id =~ s/^\///; $id =~ s/^\///;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment