Friend of Dorothy - Wikipedia
The phrase dates back to at least World War II, when homosexual acts were illegal in the United States. Stating that, or asking if, someone was a “friend of Dorothy” was a euphemism used for discussing sexual orientation without others knowing its meaning.