Hosts File Editor: Adds leading whitespaces #36386
Labels
Issue-Bug
Something isn't working
Needs-Triage
For issues raised to be triaged and prioritized by internal Microsoft teams
Product-Hosts File Editor
Refers to the Hosts file editor
Microsoft PowerToys version
0.87.0
Installation method
WinGet
Running as admin
Yes
Area(s) with issue?
Hosts File Editor
Steps to reproduce
Create or modify any hosts file entry or simply enabling/disabling them.
✔️ Expected Behavior
creates or modifies any entry without adding leading spaces for every entry.
❌ Actual Behavior
creates or modifies entries with two leading spaces for every entry. Those leading spaces cause issues with some software, e.g. squid.
Other Software
Squid proxy (4.14)
The text was updated successfully, but these errors were encountered: