Browse Source

Replace * by _ in file names

pull/19/head
Rodolphe Breard 5 years ago
parent
commit
e6ff3b97ba
  1. 5
      CHANGELOG.md
  2. 2
      acmed/src/config.rs

5
CHANGELOG.md

@ -13,6 +13,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Added
- Wildcard certificates are now supported. In the file name, the `*` is replaced by `_`.
## [0.6.1] - 2019-09-13 ## [0.6.1] - 2019-09-13
### Fixed ### Fixed

2
acmed/src/config.rs

@ -300,7 +300,7 @@ impl Certificate {
match &self.name { match &self.name {
Some(n) => n.to_string(), Some(n) => n.to_string(),
None => self.domains.first().unwrap().dns.to_owned(), None => self.domains.first().unwrap().dns.to_owned(),
}
}.replace("*", "_")
} }
pub fn get_crt_name_format(&self) -> String { pub fn get_crt_name_format(&self) -> String {

Loading…
Cancel
Save