diff --git a/apps/macos/VODManager/Sources/VODManager/Services/VODSignature.swift b/apps/macos/VODManager/Sources/VODManager/Services/VODSignature.swift index 56df256..5692538 100644 --- a/apps/macos/VODManager/Sources/VODManager/Services/VODSignature.swift +++ b/apps/macos/VODManager/Sources/VODManager/Services/VODSignature.swift @@ -40,8 +40,7 @@ struct VODSignature { } private static func percentEncode(_ value: String) -> String { - var allowed = CharacterSet.alphanumerics - allowed.insert(charactersIn: "-_.~") + let allowed = CharacterSet(charactersIn: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.~") return value.addingPercentEncoding(withAllowedCharacters: allowed) ?? value } }