def fix_varname(s):
        t = s.translate(s.maketrans(BAD_FILECHARS, GOOD_FILECHARS))
        while t.endswith('_'): t = t[:-1]
        return t
Wraps routing functions that require a user to be logged in
dataset/ETHPy150Open xraypy/xraylarch/plugins/io/fileutils.py/fix_varname--crossover with--dataset/ETHPy150Open IceCTF/ctf-platform/api/api/annotations.py/require_login