Return only absolute URIs in services.json (fixes #7673)

This commit is contained in:
Benjamin Dauvergne 2015-06-24 12:15:58 +02:00
parent 954410bcfa
commit 0aafb33887
1 changed files with 1 additions and 1 deletions

View File

@ -443,7 +443,7 @@ def agent_homepage_jsonp(request):
data = []
for name, url, slug, needed_authent in service_links:
data.append({
'url': url,
'url': request.build_absolute_uri(url),
'label': name,
'authentication_level_is_enough': not bool(needed_authent),
'authentication_levels': filter(None, needed_authent.split(', ')),