Skip to content

Commit 3163ecd

Browse files
committed
Fix zip sanitation deprecation temporarily
1 parent e9460b2 commit 3163ecd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/providers/pia/openvpn.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ impl OpenVpnProvider for PrivateInternetAccess {
6060
// uk_london.ovpn
6161
// uae.ovpn
6262

63+
// TODO: sanitized_name is now deprecated but there is not a simple alternative
64+
#[allow(deprecated)]
6365
let filename = if let Some("ovpn") = file
6466
.sanitized_name()
6567
.extension()

src/providers/protonvpn/openvpn.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ impl OpenVpnProvider for ProtonVPN {
9494
.collect::<Vec<&str>>()
9595
.join("\n");
9696

97+
// TODO: sanitized_name is now deprecated but there is not a simple alternative
98+
#[allow(deprecated)]
9799
let filename = if let Some("ovpn") = file
98100
.sanitized_name()
99101
.extension()

0 commit comments

Comments
 (0)