Commit Graph

1 Commits

Author SHA1 Message Date
Petr Menšík
4587c1a5b7 Decode IDN names on input in all situations in utilities
Use the same name in dig or host utilities when stdout is not a
terminal. Until now it disabled IDN processing when stdout were not a
terminal. Disable just IDN output in that case and try to decode input
name with IDN. Keep failing in interactive sessions, but send even
undecoded name query when output is redirected.

That should limit new surprises and keep most of behaviour without
changes. But do not break in when input name failed to decode and
it were not trying to decode it before.

Resolves: RHEL-112765
2025-09-15 12:44:24 +02:00