Remove album name bin2hex conversion in file browser
- Avoids Javascript hex2bin() limitation to Latin-1 string encoding
This commit is contained in:
parent
36717a9953
commit
16f48731b1
7 changed files with 26 additions and 28 deletions
|
|
@ -41,7 +41,7 @@ function wall_upload_post(App $a, $desktopmode = true)
|
|||
Logger::log("wall upload: starting new upload", Logger::DEBUG);
|
||||
|
||||
$r_json = (!empty($_GET['response']) && $_GET['response'] == 'json');
|
||||
$album = (!empty($_GET['album']) ? Strings::escapeTags(trim($_GET['album'])) : '');
|
||||
$album = trim($_GET['album'] ?? '');
|
||||
|
||||
if ($a->argc > 1) {
|
||||
if (empty($_FILES['media'])) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue