rss-bridge
rss-bridge copied to clipboard
FB2 bridge: not decoding l.php?u= URLs
Describe the bug FB2 has code in place to prevent FB tracking and replace:
https://lm.facebook.com/l.php?u=https%3A%2F%2Fwww.behance.net%2Fgallery%2F88159989%2F10-000-Russos-Maisatra_Concert&h=AT04MghBgfyyhqmlIKMwXZsYGP-S0S0q4ER1Qf1MonHns3Ebd3-3Ib4lgOelygXTXA5LQHlh-S6uyTfzQFayAhQXAJg7bwsefWE5IH2wMsFHC2y_KaWl3y_k1-0JgvZ1ETtzoKybf8l9M9LZRrZYp_jDzfsn-vDjOiZQs1LG0JSHFHPnZ_XlpKrAvZOAZMfC8DNp9PFfgHPqc5w-nNDYRKlOfpMj7A1dWeZF16NSd6S4EsBWfaKHq9tT0_5zl2q1JIoTobD4KnJwXIcDs16ubVD001ATeBngTqIqjATSOekU5OCU5UNAOVLdcZtd8FrBvddplNoV4g0lOSQjKUCVqJB_DqEX7umBqcY6MnT9tdGrc1nj377cuXtHry9XDNveXXmtI5QyR57q79ypITAJS1pdJ6DlhlDyvuvxFR6Np1wQzjOHHPUb6Z2kGa07p-70lcI7TZLsXkwKIYe8je_tHVZogiieqAOnyKfLce058hB84ntqabZcovSj4FOtyL-6K0GdqK3TT7nYLlEU2PuRy0TqvMzNHmb-SCaRIKCMtFE0x5aZeW6yB1dwmuyuv57WtymSa8nphqFoRGxJis_Wrmvw3gC0EK_eP9e1vAiQPV4ottK3Jq33aNhj-PmmG_aEQ3A1bSN6s5JfapWSL5MTJbXjSdhCfb65vNRAseiovKHpr3wKM3pKjwcXPoZKKJX68whUGwVbKEd_uykaza1g4jRzw9Unpor9K7eLmbSONx7q8zB_Xnr8d8RQYQzWT6xUvKARbhtRdDtjL_CIP3JAEXO0fYTs9vBOUltEDage6NyyHOvKltfpAX3-y07XIDWsFWjKftuUVcQN5WWlPs6COUlEj0b2g6CQN3Sv_9COmcQMwU6j_7HEI-Z_slcKY2qfk61Cmdul-gnbP9lLeM5TfbiTESs8EC_5MjmbOzIAcu5Nzem6N-AKiMdTqDPVagEHbcJ5EHV7yLqNXeQedjhGMWdtkDayXrn7YVzPGMvqw7_kkWchyEapOu-m6UQGbPGDso21hJbaVrabNQUBgjRGwqn1nykhMdHOrc6B
with the target URL:
https://www.behance.net/gallery/88159989/10-000-Russos-Maisatra_Concert
It's not working.
To Reproduce Steps to reproduce the behavior:
-
Visit:
?action=display&bridge=FB2&u=storrady&format=Html
-
Look for the story with the title: Klub Storrady | Dzięki za wczoraj!BEHANCE.NET10 000 Russos. URL is:
https://touch.facebook.com/story.php?story_fbid=2584746148268179&id=457365507672931&_ft_=mf_story_key.2584746148268179%3Atop_level_post_id.2584746148268179%3Atl_objid.2584746148268179%3Acontent_owner_id_new.457365507672931%3Athrowback_story_fbid.2584746148268179%3Apage_id.457365507672931%3Astory_location.4%3Astory_attachment_style.share%3Apage_insights.%7B%22457365507672931%22%3A%7B%22page_id%22%3A457365507672931%2C%22actor_id%22%3A457365507672931%2C%22dm%22%3A%7B%22isShare%22%3A1%2C%22originalPostOwnerID%22%3A0%7D%2C%22psn%22%3A%22EntStatusCreationStory%22%2C%22post_context%22%3A%7B%22object_fbtype%22%3A266%2C%22publish_time%22%3A1573762976%2C%22story_name%22%3A%22EntStatusCreationStory%22%2C%22story_fbid%22%3A%5B2584746148268179%5D%7D%2C%22role%22%3A1%2C%22sl%22%3A4%2C%22targets%22%3A%5B%7B%22actor_id%22%3A457365507672931%2C%22page_id%22%3A457365507672931%2C%22post_id%22%3A2584746148268179%2C%22role%22%3A1%2C%22share_id%22%3A0%7D%5D%7D%7D&__tn__=-R
- Click on the BEHANCE.NET link
- You see Facebook's "do you want to visit this link" page instead of direct behance.net link
Expected behavior
When clicked, you go to https://www.behance.net/gallery/88159989/10-000-Russos-Maisatra_Concert
Additional context I've created a minimal test case in hope to find a bug in the link parser but it seems that the problem is not in the link parser but in the processing that happens before or in something else. The test case does not reproduce the problem because the link is properly parsed.
@gjedeer Is this still an issue?
Yes, I could still reproduce it with ?action=display&bridge=FB2&u=storrady&format=Html
with the same post.