You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the bookmarklet on the tweet above doesn't find the artist. It doesn't match because the normalized URL in the artist entry isn't lowercase.
This happened because inside ArtistUrl#normalize, we do Sources::Site.new("https://twitter.com/Gulp5959").normalize_for_artist_finder! to normalize the URL, which would lowercase it, if it worked. Except it doesn't, because the Twitter source strategy doesn't recognize URLs that don't contain a status ID.
The text was updated successfully, but these errors were encountered:
@evazion it seems this wasn't fully fixed. It is only matching correctly for artists whose link lists have been refreshed - ones with mixed case twitter links still won't match until their links are resaved.
Even though this artist was created recently (in the last ~12 hours), it still won't match it. I'm not editing it because otherwise it'd stop being a useful example as the link refreshing can only be reproduced once per artist, so I'll leave that to you so you can observe the bug.
URL: https://twitter.com/gulp5959/status/929679299002621955
Artist entry: https://danbooru.donmai.us/artists.json?name=gulp5959
Artist URL: https://twitter.com/Gulp5959
Normalized artist URL: http://twitter.com/Gulp5959/
Using the bookmarklet on the tweet above doesn't find the artist. It doesn't match because the normalized URL in the artist entry isn't lowercase.
This happened because inside
ArtistUrl#normalize
, we doSources::Site.new("https://twitter.com/Gulp5959").normalize_for_artist_finder!
to normalize the URL, which would lowercase it, if it worked. Except it doesn't, because the Twitter source strategy doesn't recognize URLs that don't contain a status ID.The text was updated successfully, but these errors were encountered: