thatrevguy / windows_firewall

Apache License 2.0
8 stars 14 forks source link

Fix escape characters in fw rule name #6

Closed robklg closed 7 years ago

robklg commented 7 years ago

Firewall rules with names containing \ were treated as escape characters. The firewall_rule provider in this case fails to load the current state of the firewall ruleset. Every puppet run, all firewall rules are always added, leading to many duplicates.

robklg commented 7 years ago

Example of where this occurs: when installing Mozilla Firefox, firefox installs for itself a rule containing its directory path, which happens to include \Mozilla... which is treated as a meta-escape char.