Details
Description
Users cannot create sites with '.' in the name. For example:
iis_site { 'example.com':
|
ensure => 'present',
|
physicalpath => 'C:\inetpub\wwwroot\example.com',
|
}
|
This is caused by the regex here:
https://github.com/puppetlabs/puppetlabs-iis/blob/master/lib/puppet/type/iis_site.rb#L40
And repeated here:
https://github.com/puppetlabs/puppetlabs-iis/search?q=Z0
I haven't found an official list of valid characters, but "." is valid via PowerShell or the GUI.
Attachments
Issue Links
- is duplicated by
-
MODULES-5293 IIS : regexes for name properties are more restrictive than iis itself
-
- Resolved
-
- relates to
-
MODULES-5626 IIS : Add Name validation for IIS Application Pools
-
- Resolved
-
-
MODULES-5627 IIS : Add Name validation for IIS Applications
-
- Resolved
-
-
MODULES-6213 IIS : Vaildation tests for IIS::Property::Name should be maintained separately
-
- Open
-
-
MODULES-6069 IIS : iis_site applicationpool does not allow valid characters
-
- Resolved
-
- links to