diff --git a/sapl/base/templatetags/common_tags.py b/sapl/base/templatetags/common_tags.py index 57f6e9f81..60cb80f62 100644 --- a/sapl/base/templatetags/common_tags.py +++ b/sapl/base/templatetags/common_tags.py @@ -144,8 +144,6 @@ def str2intabs(value): @register.filter def url(value): - # import ipdb; ipdb.set_trace() - string = value[:8] - if 'http://' in string or 'https://' in string: + if value.startswith('http://') or value.startswith('https://'): return True return False