afe4017
Use ui_ns.index instead index After adding check for the None in `is_safe_url` function the index didn't work anymore. Werkzeug library error suggested to use `ui_ns.index` instead and this worked. Signed-off-by: Michal Konečný <mkonecny@redhat.com>