From e21d935f52980aefc972e11c9bd551dd75b1a659 Mon Sep 17 00:00:00 2001 From: Antoine Catton Date: Tue, 29 Oct 2013 12:36:22 -0600 Subject: [PATCH] [1.5.x] Documented the limitation on sep argument to Signer Co-Authored-By: Gavin Wahl Backport of e9a356a695 from master --- docs/topics/signing.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/topics/signing.txt b/docs/topics/signing.txt index 3da70da6798..0d001e74c6d 100644 --- a/docs/topics/signing.txt +++ b/docs/topics/signing.txt @@ -76,8 +76,10 @@ generate signatures. You can use a different secret by passing it to the .. class:: Signer(key=None, sep=':', salt=None) - Returns a signer which uses ``key`` to generate signatures and ``sep`` - to separate values. + Returns a signer which uses ``key`` to generate signatures and ``sep`` to + separate values. ``sep`` cannot be in the `URL safe base64 alphabet + `_. This alphabet contains + alphanumeric characters, hyphens, and underscores. Using the salt argument -----------------------