mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Add comment for question #527
This commit is contained in:
parent
e08d096f29
commit
d1232947c6
1 changed files with 4 additions and 0 deletions
|
|
@ -10,6 +10,10 @@ from inspect import getfullargspec
|
||||||
from .. import exceptions
|
from .. import exceptions
|
||||||
|
|
||||||
|
|
||||||
|
# This is only a subset of the chars allowed per the spec. In particular `@` is
|
||||||
|
# not included, because there are some servers that (incorrectly) encode it to
|
||||||
|
# `%40` when it's part of a URL path, and reject or "repair" URLs that contain
|
||||||
|
# `@` in the path. So it's better to just avoid it.
|
||||||
SAFE_UID_CHARS = ('abcdefghijklmnopqrstuvwxyz'
|
SAFE_UID_CHARS = ('abcdefghijklmnopqrstuvwxyz'
|
||||||
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
||||||
'0123456789_.-+')
|
'0123456789_.-+')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue