comparison configmix/variables.py @ 89:35ce96a3150e

Use :rfc: role to link to RFCs
author Franz Glasner <hg@dom66.de>
date Sat, 17 Mar 2018 13:20:42 +0100
parents 218807d7d883
children cd6c5c1494f5
comparison
equal deleted inserted replaced
88:5d47693916ee 89:35ce96a3150e
120 return quote(v, safe="") 120 return quote(v, safe="")
121 121
122 122
123 @filter("saslprep") 123 @filter("saslprep")
124 def saslprep(config, v): 124 def saslprep(config, v):
125 """Do a `SASLprep` according to RFC4013 on `v`. 125 """Do a `SASLprep` according to :rfc:`4013` on `v`.
126 126
127 This is a Stringprep Profile for usernames and passwords 127 This is a Stringprep Profile for usernames and passwords
128 128
129 """ 129 """
130 import passlib.utils 130 import passlib.utils