{"id":10546079,"date":"2018-08-01T03:59:22","date_gmt":"2018-08-01T03:59:22","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/cache-bust-issue\/"},"modified":"2018-08-01T03:59:39","modified_gmt":"2018-08-01T03:59:39","slug":"cache-bust-issue","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/cache-bust-issue\/","title":{"rendered":"Cache-bust Issue"},"content":{"rendered":"<p>Hi there! <\/p>\n<p>This plugin works great. Just one small request:<\/p>\n<p>Some crawlers of ads.txt will cache-bust to ensure the latest file is requested (e.g. https:\/\/example.com\/ads.txt?t=2832438293029). However, your plugin always returns a 404 when any query string is added.<\/p>\n<p>Perhaps the following change in ads-txt.php would fix things:<\/p>\n<p>from:<br \/>\n<code>$request = esc_url_raw( $_SERVER[&#039;REQUEST_URI&#039;] );<\/code><\/p>\n<p>to:<br \/>\n<code>$request = esc_url_raw(parse_url($_SERVER[&#039;REQUEST_URI&#039;], PHP_URL_PATH));<\/code><\/p>\n<p>Thanks!<br \/>\n-EmbedPlus Team<\/p>\n","protected":false},"template":"","class_list":["post-10546079","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10546079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10546079\/revisions"}],"predecessor-version":[{"id":10546080,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/10546079\/revisions\/10546080"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=10546079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}