diff --git a/changelogs/fragments/homebrew-cask-at-symbol-fix.yaml b/changelogs/fragments/homebrew-cask-at-symbol-fix.yaml new file mode 100644 index 0000000000..2b7d51bc52 --- /dev/null +++ b/changelogs/fragments/homebrew-cask-at-symbol-fix.yaml @@ -0,0 +1,2 @@ +bugfixes: + - homebrew_cask - fixed issue where a cask with ``@`` in the name is incorrectly reported as invalid (https://github.com/ansible-collections/community.general/issues/733). diff --git a/plugins/modules/packaging/os/homebrew_cask.py b/plugins/modules/packaging/os/homebrew_cask.py index d254e14ae6..d23fdc56fa 100644 --- a/plugins/modules/packaging/os/homebrew_cask.py +++ b/plugins/modules/packaging/os/homebrew_cask.py @@ -186,6 +186,7 @@ class HomebrewCask(object): . # dots / # slash (for taps) - # dashes + @ # at symbol ''' INVALID_PATH_REGEX = _create_regex_group(VALID_PATH_CHARS)