summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3807f7c)
There aren't any that we care about, but really.
for ch in \
b"ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
b"abcdefghijklmnopqrstuvwxyz" \
for ch in \
b"ABCDEFGHIJKLMNOPQRSTUVWXYZ" \
b"abcdefghijklmnopqrstuvwxyz" \
- b"0123456789" b"!$%-.,/":
+ b"0123456789" b"!$%_-.,/":
URL_SAFE_P[ch] = True
def urlencode(s):
return "".join((URL_SAFE_P[ch] and chr(ch) or "%%%02x" % ch
URL_SAFE_P[ch] = True
def urlencode(s):
return "".join((URL_SAFE_P[ch] and chr(ch) or "%%%02x" % ch