Return only absolute URIs in services.json (fixes #7673)
This commit is contained in:
parent
954410bcfa
commit
0aafb33887
|
@ -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(', ')),
|
||||
|
|
Reference in New Issue