natemcmaster / LettuceEncrypt

Free, automatic HTTPS certificate generation for ASP.NET Core web apps
https://nuget.org/packages/LettuceEncrypt
Apache License 2.0
1.55k stars 153 forks source link

Raise validation error if attempting to use a wildcard domain #221

Closed natemcmaster closed 2 years ago

natemcmaster commented 2 years ago

Addresses #217

Wildcard domains are not supported. Raise an error indicating this.

codecov[bot] commented 2 years ago

Codecov Report

Merging #221 (b0191ef) into main (5894e19) will increase coverage by 0.24%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #221      +/-   ##
==========================================
+ Coverage   45.94%   46.18%   +0.24%     
==========================================
  Files          44       45       +1     
  Lines        1110     1115       +5     
==========================================
+ Hits          510      515       +5     
  Misses        600      600              
Impacted Files Coverage Δ
src/LettuceEncrypt/Internal/OptionsValidation.cs 100.00% <100.00%> (ø)
...crypt/LettuceEncryptServiceCollectionExtensions.cs 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update dcab21e...b0191ef. Read the comment docs.