From 03787c95cbdd71c6a3e3c0e4dc2ec13adaa79620 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 29 Dec 2019 16:51:56 -0800 Subject: Blacklist h query --- app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/src/test/kotlin') diff --git a/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt b/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt index 27dd9af9..799b11a9 100644 --- a/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt +++ b/app/src/test/kotlin/com/pitchedapps/frost/facebook/FbUrlTest.kt @@ -156,6 +156,13 @@ class FbUrlTest { assertFbFormat(expected, url) } + @Test + fun queryH() { + val url = "${FB_URL_BASE}sample/?h=asdfasdf" + val expected = "${FB_URL_BASE}sample/" + assertFbFormat(expected, url) + } + // @Test // fun viewFullImageIndirect() { // val urlBase = "photo/view_full_size/?fbid=1234&ref_component=mbasic_photo_permalink&ref_page=%2Fwap%2Fphoto.php&refid=13&_ft_=qid.1234%3Amf_story_key.1234%3Atop_level_post_id" -- cgit v1.2.3