Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When Flickr user has a dash, that generates the URL of the album is incorrect and the widget does not work.
Example (user name rah-mon):
Album url:
http://www.flickr.com/photos/rah-mon/sets/72157629101121852/
Incorrect generate URL:
page_show_url=%2Fphotos%2F75306513%40N07%2Fsets%2F72157629101121852%2Fshow%2F
Ideal (corrected):
page_show_url=%2Fphotos%2Frah-mon%2Fsets%2F72157629101121852%2Fshow%2F
Thanks!
Comments
Comment #1
ballester CreditAttribution: ballester commentedIt is possible that the error is generated at that point?
File: media_flickr.theme.inc
Line 29:
$variables['user_id'] = drupal_encode_path($parts['u']);
Comment #2
steinmb CreditAttribution: steinmb as a volunteer commentedTested on latest 7.x-2.x. Seems OK to me