Fix #5234: Weibo URLs get normalized incorrectly in some cases.

This commit is contained in:
evazion
2022-08-24 14:47:00 -05:00
parent c2597ff299
commit f46134e87f
2 changed files with 10 additions and 2 deletions

View File

@@ -138,6 +138,7 @@ module Sources
assert(Source::URL.profile_url?("https://www.weibo.com/5501756072"))
assert(Source::URL.profile_url?("https://www.weibo.com/endlessnsmt"))
assert(Source::URL.profile_url?("https://www.weibo.com/4ubergine/photos"))
assert(Source::URL.profile_url?("https://www.weibo.com/n/小小男爵不要坑"))
refute(Source::URL.profile_url?("https://weibo.com/u/"))
end