When importing from a url (dropbox, url) the import class changes the image title
rdswd opened this issue · comments
Detailed description of the problem
in php/Modules/Import.php the url method changes spaces in the image title to %20. This is added to the image title in the Photo class. I've submitted a PR to correct it.
Steps to reproduce the issue
Upload photo from url or dropbox with spaces in the title.
Output of the diagnostics (Settings => Diagnostics)
Diagnostics
Warning: You may experience problems when uploading a large amount of photos. Take a look in the FAQ for details.
Error: Upgrade to PHP 7.1 or higher
Error: 'data/config.php' is world readable.
System Information
Lychee Version (json): 3.2.16
Lychee Version (git): 8310355 (master)
DB Version: update_030216
System: Linux
PHP Version: 7
MySQL Version: 50505
Imagick: 1
Imagick Active: 1
Imagick Version: 1655
GD Version: 2.2.5
Plugins:
Config Information
checkForUpdates: 1
default_license: none
deleteImported: 1
full_photo: 1
hide_version_number: 1
image_overlay: 0
image_overlay_type: exif
imagick: 1
lang: en
layout: 0
medium_max_height: 1080
medium_max_width: 1920
php_script_limit: 0
public_search: 0
skipDuplicates: 0
small_max_height: 360
small_max_width: 0
sortingAlbums: ORDER BY id DESC
sortingPhotos: ORDER BY id DESC
useExiftool: 0
version: update_030216
Browser and system
macOS Version 10.14.6
Chrome Version 77.0.3865.120 (Official Build) (64-bit)