Commit Graph

1 Commits

Author SHA1 Message Date
Petr Menšík
8f4a1161b8 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-66172
2025-09-03 19:21:46 +02:00