Advanced search broken for URLs


#1

Hi there,

It looks like searching for an exact phrase like “mostro.com” will actually return results that contain “mostro” and “com”, even when adding quotes around the query term or escaping the “.” character.

Is this new and/or intended behavior?

Searching for “www.mostro.comseems to be working as expected (I’m guessing it’s correctly detected as a URL) but leaves out all tweets that include “mostro.com” without the “www” subdomain.


edit: in case that wasn’t clear, the same happens when using the API over a command-line tool

irb(main):005:0> twitter_client.search("mostro.com").first.text
=> "@prieut sim sim na verdade eu nem mostro com medo de me chamar de doido \n\namiga poderia dar a graça de se apresentar"
irb(main):008:0> twitter_client.search("mostro.com", filter: "links").first.text
=> "RT @CeloJf_: E é assim que crianças comem chocolate! 😩 depois mostro com ovos de chocolate 😨 https://t.co/XWPQ0Yo3tH"