diff options
| author | Emīls <emils@mullvad.net> | 2024-04-16 12:42:24 +0200 |
|---|---|---|
| committer | Emīls <emils@mullvad.net> | 2024-04-18 11:56:21 +0200 |
| commit | 6719c48ffaf894dc88678dbb209f11bca9dffd2a (patch) | |
| tree | f27154e6d8db851250fa4b2ec61c7a12f0ee18c7 /mullvad-management-interface/src | |
| parent | d1403674eca97e498c3fd04d1c0db24a1935da47 (diff) | |
| download | mullvadvpn-6719c48ffaf894dc88678dbb209f11bca9dffd2a.tar.xz mullvadvpn-6719c48ffaf894dc88678dbb209f11bca9dffd2a.zip | |
Limit the size of custom list names to 30 graphemes
Diffstat (limited to 'mullvad-management-interface/src')
| -rw-r--r-- | mullvad-management-interface/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mullvad-management-interface/src/lib.rs b/mullvad-management-interface/src/lib.rs index 882db86ae1..763d2474ec 100644 --- a/mullvad-management-interface/src/lib.rs +++ b/mullvad-management-interface/src/lib.rs @@ -28,6 +28,7 @@ static MULLVAD_MANAGEMENT_SOCKET_GROUP: Lazy<Option<String>> = pub const CUSTOM_LIST_LIST_NOT_FOUND_DETAILS: &[u8] = b"custom_list_list_not_found"; pub const CUSTOM_LIST_LIST_EXISTS_DETAILS: &[u8] = b"custom_list_list_exists"; +pub const CUSTOM_LIST_LIST_NAME_TOO_LONG_DETAILS: &[u8] = b"custom_list_list_name_too_long"; #[derive(thiserror::Error, Debug)] pub enum Error { |
