Closed timonsky closed 1 month ago
use GitHub reactions π to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!
Describe the bug: Using keywords that contain dashes ('-') does not work. It seems the dashes are stripped before being passed to the URL builder.
To Reproduce: Steps to reproduce the behavior:
Expected behavior: Images should be taken from the tag containing dashes (e.g. https://source.unsplash.com/featured/1920x1080?picos-de-europa)
Server:
Additional Information:
guessing it's this line that's responsible
Line 116 in lib/ProviderHandler/Provider.php $term = preg_replace('/[^a-z]/i','', $term);
$term = preg_replace('/[^a-z]/i','', $term);
use GitHub reactions π to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!
Describe the bug: Using keywords that contain dashes ('-') does not work. It seems the dashes are stripped before being passed to the URL builder.
To Reproduce: Steps to reproduce the behavior:
Expected behavior: Images should be taken from the tag containing dashes (e.g. https://source.unsplash.com/featured/1920x1080?picos-de-europa)
Server:
Additional Information: